Bug 12508

Summary: gdb fails to vmcore.0
Product: Base System Reporter: assar <assar>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: assar
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   

Description assar 1999-07-04 16:10:01 UTC
gdb seems unable to read the vmcore.0 file produced by savecore

Fix: 

none known yet :(
How-To-Repeat: 
<make machine panic>
<type panic in ddb>
<see it dump>
<reboot>

Jul  4 13:03:02 sum savecore: reboot after panic: from debugger
Jul  4 13:03:02 sum savecore: /var/crash/bounds: No such file or directory
Jul  4 13:03:02 sum savecore: writing core to /var/crash/vmcore.0
Jul  4 13:03:22 sum savecore: writing kernel to /var/crash/kernel.0

bash# gdb -k
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file /usr/src/sys/compile/SUM/kernel.gdb
Reading symbols from /usr/src/sys/compile/SUM/kernel.gdb...done.
(kgdb) exec-file kernel.0
(kgdb) core-file vmcore.0
IdlePTD 2859008
kernel symbol `gd_curpcb' not found.
Comment 1 luoqi 1999-07-13 01:23:21 UTC
Gdb source was mislabelled for 3.2-RELEASE build, please update to a
more recent version.

-lq
Comment 2 assar 1999-11-28 14:38:16 UTC
I think this can be closed.  Luoqi told me the reason for it not
working in 3.2 and it does work in 3.3.

/assar
Comment 3 Peter Wemm freebsd_committer freebsd_triage 1999-11-28 15:18:50 UTC
State Changed
From-To: open->closed

Reported fixed in 3.3.