gdb 6.1.1: File format not recognized

Willem Jan Withagen wjw at withagen.nl
Sun Jul 11 11:14:11 PDT 2004


Use gdb6 from the ports.....

gdb6 -k .........

--WjW

----- Original Message ----- 
From: "Matthias Schuendehuette" <msch at snafu.de>
To: <freebsd-hackers at freebsd.org>
Sent: Saturday, July 10, 2004 8:36 PM
Subject: gdb 6.1.1: File format not recognized


> Hello,
>
> I tried to look into a core dump from a -current kernel with
> 'gdb' but all i get is:
>
> --------------8><-----------------------------
> root at current - /var/crash
> 504 # gdb kernel.debug vmcore.0
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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-marcel-freebsd"...
> "/var/crash/vmcore.0" is not a core dump: File format not recognized
> (gdb) quit
> --------------8><-----------------------------
>
> I looked at the man-pages of gdb(1), savecore(8) and into the
> 'Developers Handbook' but I didn't find anything about the
> correct file format of a core dump.
>
> If I look at /var/crash/info.0, there's:
>
> --------------8><-----------------------------
> Good dump found on device /dev/da0s1b
>   Architecture: i386
>   Architecture version: 1
>   Dump length: 268369920B (255 MB)
>   Blocksize: 512
>   Dumptime: Sat Jul 10 19:40:30 2004
>   Hostname: current.best-eng.de
>   Versionstring: FreeBSD 5.2-CURRENT #5: Sat Jul 10 12:37:27 CEST 2004
>     root at current.best-eng.de:/raid/obj/usr/src/sys/CURRENT
>   Panicstring: unmount: dangling vnode
>   Bounds: 0
> --------------8><-----------------------------
>
> Did I overlook something? Has someone a pointer or hint for me?
>
>
> -- 
> Ciao/BSD - Matthias
>
> Matthias Schuendehuette <msch [at] snafu.de>, Berlin (Germany)
> PGP-Key at <pgp.mit.edu> and <wwwkeys.de.pgp.net> ID: 0xDDFB0A5F
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>



More information about the freebsd-hackers mailing list