Subject: not a core dump: File format not recognized
To: None <netbsd-help@netbsd.org>
From: Brian Stark <bstark@siemens-psc.com>
List: netbsd-help
Date: 02/04/1999 09:42:49
Hello,

I am trying to read a core dump using gdb 4.16 on NetBSD 1.3.3 but the
debugger won't recognize the file as a valid core dump:

callisto:bstark$ ls -l panel panel.core
-rwxr-xr-x  1 bstark  users  14267716 Feb  3 23:56 panel
-rw-------  1 bstark  users   1843788 Feb  4 00:15 panel.core

(gdb) file panel
Reading symbols from panel...done.
(gdb) core panel.core
"/usr/local2/bin/panel.core" is not a core dump: File format not
recognized

callisto:bstark$ file panel.core
panel.core: NetBSD/i386 core from 'panel'
callisto:bstark$ 

...but the "file" command does report the file as being a valid core 
dump. I have also tried using gdb 4.17, but I get the same results.
Anyone know what I am overlooking??


Thanks,

Brian

-------------------------------------------------------------------------
| Brian Stark                       | Internet : bstark@siemens-psc.com |
| Siemens PT&D, LLC                 | Voice    : +1 612 536-4697        |
| Power Systems Control Division    | Fax      : +1 612 536-4919        |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428   USA            | 
-------------------------------------------------------------------------