Subject: How to use kgdb ?
To: None <port-i386@NetBSD.ORG>
From: Manuel BOUYER <bouyer@antioche.ibp.fr>
List: port-i386
Date: 06/19/1997 18:21:25
Hello,
my 486 server running an old verion old -current (NetBSD-1.2E) sometimes
crashes with generally a "panic: trap" message.
I get a core-dump. When runnning kgdb on it I can't get any usefull info:

antioche:/home/bouyer>gdb -k netbsd.gdb netbsd.1.crash 
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
 There is absolutely no warranty for GDB; type "show warranty" for details.
 GDB 4.11 (i386-netbsd), Copyright 1993 Free Software Foundation, Inc...
 panic: trap
 #0  0xf9f15e44 in end ()
 (kgdb) bt   
 #0  0xf9f15e44 in end ()
 #1  0xf866d400 in end ()
 #2  0xf9f14000 in end ()
 Cannot access memory at address 0x100.

Any idea on how I could get mode usefull infos ?
I don't want do include the in-kernel debugger, because it is my ppp server,
and usually crashes when I'm not here (do you know murphy's law ? :).

--
Manuel Bouyer, LIP6, Universite Paris VI.                 bouyer@masi.ibp.fr
--