Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gdb & libdata/debug
On Thu, Sep 19, 2019 at 04:27:44PM +0100, Patrick Welche wrote:
> 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.
Just tried that:
Reading symbols from calendar...
Reading symbols from /usr/libdata/debug//usr/bin/calendar.debug...
(gdb) break isnow
Breakpoint 1 at 0x3214: file /work/src/usr.bin/calendar/calendar.c, line 281.
Something wrong with your debug sets?
Martin
Home |
Main Index |
Thread Index |
Old Index