Subject: bin/4591: gdb on pmax: cannot handle shared libraries
To: None <firstname.lastname@example.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Date: 11/27/1997 18:04:42
>Synopsis: gdb on pmax: cannot handle shared libraries
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Thu Nov 27 18:20:03 1997
>Originator: Jonathan Stone
>Release: NetBSD-1.3_ALPHA supped on Nov 26
System: NetBSD Reno.DSG.Stanford.EDU 1.3_ALPHA NetBSD 1.3_ALPHA (GENERIC) #0: Sat Nov 22 16:32:51 PST 1997 jonathan@Reno.DSG.Stanford.EDU:/reno/compile/GENERIC pmax
gdb doesn't properly handle pmax shared libraries.
When starting an inferior, gdb reports that it cannot establisha
breakpoint function in shared libraries, find the dynamic-linker
shared library initializers, and so cannot properly debug the
shared library code:
(gdb) break main
Breakpoint 1 at 0x436478
Starting program: /usr/bin/gdb
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x0 in ?? ()
(see previous PR about the SIGTRAP problem.)
I have no clue what this means. However, non-integrated FSF gdb 4.15
and gdb 4.16 (with the mipsnat code I wrote and shipped with earlier
pmax snapshots) doesn't have this problem.
I'm not sure what I can change without potentially breaking GDB on
on a pmax with netbsd 1.3_ALPHA, do:
None known. No workaround, either. I don't really know where to start
on this one; any assistance gratefuly appreciated.