Subject: Re: gdb6 does not seems to undestand kcore targets
To: NetBSD current <>
From: Juergen Hannken-Illjes <>
List: current-users
Date: 10/22/2006 15:11:16
On Sun, Oct 22, 2006 at 02:31:14PM +0200, Nicolas Joly wrote:
> Hi,
> I just got a kernel panic on my -current NetBSD/i386 machine at
> home ... I mode a crash dump to be analysed a little later, but i
> discovered that gdb6 does not handle kcore target anymore.
> root@cixy [/var/crash]# gdb /netbsd
> GNU gdb 6.5
> Copyright (C) 2006 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--netbsdelf"...(no debugging symbols found)
> (gdb) target kcore netbsd
> Undefined target command: "kcore netbsd".  Try "help target".
> [...]
> (gdb) target core netbsd.0.core
> "/var/crash/netbsd.0.core" is not a core dump: File format not recognized
> Did the kernel core analysis method changed between gdb5 and gdb6 ?

target kvm netbsd.0.core

Juergen Hannken-Illjes - - TU Braunschweig (Germany)