Subject: bin/4589: gdb cannot start inferiors on pmax
To: None <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: netbsd-bugs
Date: 11/27/1997 17:50:52
>Number:         4589
>Category:       bin
>Synopsis:       gdb cannot start inferiors on pmax
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 27 18:05:00 1997
>Originator:     Jonathan Stone
>Release:        NetBSD 1.3_ALPHA supoed on Nov 26, 1997.
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


Start GDB on a statically-linked NetBSD/pmax binary with symbols.
This renders GDB useless for debugging live programs (as opposed to
debugging coredumps).  This didn't happen with the pre-``integration''
FSF gdb 4.16 sources and the mipsnat file from which I derived the
NetBSD 1.3 source.  It didn't seem to happen from GDB source built
just before the 1.3 branch was cut, either.


Start GDB, as above. Try and start the debuggee running.
gdb reports that the debuggee gets a SIGTRAP at address 0x0.
continuing has no effect.


No workaround known.
Any help diagnosing or fixing this gratefully accepted.