From root@sum.sics.se Sun Jul  4 08:09:49 1999
Return-Path: <root@sum.sics.se>
Received: from sum.sics.se (sum.sics.se [193.10.65.194])
	by hub.freebsd.org (Postfix) with ESMTP id 1E43E14F65
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Jul 1999 08:09:47 -0700 (PDT)
	(envelope-from root@sum.sics.se)
Received: (from root@localhost)
	by sum.sics.se (8.9.3/8.9.3) id RAA82588;
	Sun, 4 Jul 1999 17:10:13 +0200 (CEST)
	(envelope-from root)
Message-Id: <199907041510.RAA82588@sum.sics.se>
Date: Sun, 4 Jul 1999 17:10:13 +0200 (CEST)
From: assar@sics.se
Sender: root@sum.sics.se
To: FreeBSD-gnats-submit@freebsd.org
Cc: assar@sics.se
Subject: gdb fails to vmcore.0
X-Send-Pr-Version: 3.2

>Number:         12508
>Category:       kern
>Synopsis:       gdb fails to vmcore.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul  4 08:10:01 PDT 1999
>Closed-Date:    Sun Nov 28 07:18:50 PST 1999
>Last-Modified:  Sun Nov 28 07:19:13 PST 1999
>Originator:     Assar Westerlund <assar@sics.se>
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
?
>Environment:

FreeBSD sum.sics.se 3.2-RELEASE FreeBSD 3.2-RELEASE #3: Sun Jul  4 11:37:58 CEST 1999     root@sum.sics.se:/usr/src/sys/compile/SUM  i386

>Description:

gdb seems unable to read the vmcore.0 file produced by savecore

>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.

>Fix:

none known yet :(

>Release-Note:
>Audit-Trail:

From: Luoqi Chen <luoqi@chen.eu.org>
To: freebsd-gnats-submit@freebsd.org, assar@sics.se
Cc:  
Subject: Re: kern/12508: gdb fails to vmcore.0
Date: Mon, 12 Jul 1999 20:23:21 -0400

 Gdb source was mislabelled for 3.2-RELEASE build, please update to a
 more recent version.
 
 -lq
 

From: Assar Westerlund <assar@sics.se>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/12508: gdb fails to vmcore.0
Date: 28 Nov 1999 15:38:16 +0100

 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
 
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Sun Nov 28 07:18:50 PST 1999 
State-Changed-Why:  
Reported fixed in 3.3. 
>Unformatted:
