Subject: port-i386/2709: gdb can't access kernel-core-files
To: None <gnats-bugs@NetBSD.ORG>
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
List: netbsd-bugs
Date: 08/21/1996 13:14:14
>Number: 2709
>Category: port-i386
>Synopsis: kernel-core-files aren't recognised by gdb
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 21 07:35:04 1996
>Last-Modified:
>Originator: Andrew Wheadon
>Organization:
The cost of living hasn't affected it's popularity. (Mark Twain)
current release=doc host=netbsd.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix
>Release: 1.2_BETA
>Environment:
System: NetBSD wipux2.wifo.uni-mannheim.de 1.2_BETA NetBSD 1.2_BETA (W) #0: Tue Aug 13 13:53:36 MET DST 1996 toor@wipux2.wifo.uni-mannheim.de:/src/src/sys/arch/i386/compile/W i386
>Description:
trying to analyse a kernel-core that was created by
a panic fails to work.
>How-To-Repeat:
sync
Ctrl-Alt-Esc
call boot(0x100)
after booting in multiuser again:
(root@wipux5:/var/crash>gdb netbsd.1 netbsd.1.core
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...
(no debugging symbols found)...
"/var/crash/netbsd.1.core" is not a core dump: File format not recognized
(gdb) quit
(root@wipux5:/var/crash>uname -a
NetBSD wipux5.wifo.uni-mannheim.de 1.2_BETA NetBSD 1.2_BETA (WIPUX1) #0: Tue Aug
13 15:26:08 MET DST 1996 toor@wipux2.wifo.uni-mannheim.de:/src/src/sys/arch
/i386/compile/WIPUX1 i386
a comment: the machine has 16MB of memory.
(root@wipux5:/var/crash>ls -l
total 34788
-rw-r--r-- 1 root wheel 2 Aug 20 00:03 bounds
-rw-r--r-- 1 root wheel 5 Oct 4 1993 minfree
-rw-r--r-- 1 root wheel 1010619 Aug 20 00:04 netbsd.1
-rw-r--r-- 1 root wheel 16777216 Aug 20 00:04 netbsd.1.core
(root@wipux5:/var/crash>
>Fix:
fix gdb I presume.
>Audit-Trail:
>Unformatted: