Subject: gdb6 does not seems to undestand kcore targets
To: NetBSD current <firstname.lastname@example.org>
From: Nicolas Joly <email@example.com>
Date: 10/22/2006 14:31:14
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 ?
Thanks in advance,
Biological Software and Databanks.
Institut Pasteur, Paris.