Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdb & libdata/debug



I'm pretty sure gdb used to pick up symbols automatically, but now I see
on a fresh -current/amd64 box (with a nod to PR/38185):

$ gdb `which calendar`
GNU gdb (GDB) 8.3
...
Reading symbols from /usr/bin/calendar...
(No debugging symbols found in /usr/bin/calendar)
(gdb) symbol-file /usr/libdata/debug/usr/bin/calendar.debug 
Reading symbols from /usr/libdata/debug/usr/bin/calendar.debug...
(No debugging symbols found in /usr/libdata/debug/usr/bin/calendar.debug)
(gdb) break isnow
Function "isnow" not defined.


$ nm -g /usr/libdata/debug/usr/bin/calendar.debug | head
                 w _Jv_RegisterClasses
0000000000203e28 B __CTOR_LIST_END__
                 U __assert13
00000000002043a0 B __bss_start
                 w __cxa_finalize
                 w __deregister_frame_info
00000000002041e8 D __dso_handle
                 U __errno
                 U __fstat50
                 U __getpwent50


How is this meant to work?


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index