[Cooker] automatic loading of symbol files by gdb

View: New views
1 Messages — Rating Filter:   Alert me  

[Cooker] automatic loading of symbol files by gdb

by Guillaume Rousse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there something specific to do to make gdb automatically load symbol
files shipped by debug package ?

On some host, it works automagically:
[root@node1 ~]# gdb rpc.idmapd /core.4367
GNU gdb 6.6-5mdv2008.1 (Mandriva Linux release 2008.1)
[..]
Reading symbols from /usr/lib64/libevent-1.4.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib64/libevent-1.4.so.2
Reading symbols from /lib64/libnsl.so.1...Reading symbols from
/usr/lib/debug/lib64/libnsl-2.7.so.debug...done.
done.
...
Core was generated by `rpc.idmapd'.
Program terminated with signal 6, Aborted.

On another one, it doesn't:
[root@chatelet ~]# gdb /usr/sbin/automount /core.14837
GNU gdb 6.6-5mdv2008.1 (Mandriva Linux release 2008.1)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as ""...
Using host libthread_db library "/lib/i686/libthread_db.so.1".
Core was generated by `/usr/sbin/automount'.
Program terminated with signal 11, Segmentation fault.

--
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62