Subject: Don't monstartup() at home
To: None <port-powerpc@netbsd.org>
From: Andrew Cagney <cagney@mac.com>
List: port-powerpc
Date: 02/07/2002 01:18:39
Hello,

Happened to do something like:

$ uname -a
NetBSD localhost 1.5ZA NetBSD 1.5ZA (NETLUX) #5: Sat Jan 19 13:28:10 EST
2002     boor@localhost:/usr/src/sys/arch/macppc/compile/NETLUX macppc

$ ./gdb -nw --args ./gdb -nw
GNU gdb 2002-02-06-cvs
(top-gdb) run
GNU gdb 2002-02-06-cvs
(gdb)
^C
Program received signal SIGINT, Interrupt.
0x41f42b9c in ?? () from /usr/lib/libc.so.12
(top-gdb) call monstartup (main, print_gdb_help)

On a G4 Ti.  The machine stopped dead.  I suspect it is just the
monstartup() call and GDB has nothing to do with it.  I'll file a bug
report but am wondering if someone is willing to independantly confirm
this broken monstartup() behavour.

enjoy,
Andrew