Subject: Pb: gdb cannot read core from 2.0.8 (is it a gdb or kernel problem)?

From: Yves Arrouye <[email-masked]>
Date: Fri, 9 Aug 1996 13:52:29 +0200

marin157# file core
core: ELF 32-bit LSB core file, Intel 80386, version 1, stripped
marin158# gdb core
GDB is free software and you are welcome to 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.
GDB 4.15.1 (i486-linux), Copyright 1995 Free Software Foundation, Inc...

"0¨´
    @/core": not in executable format: File format not recognized

(gdb) quit
marin159# 

So there's a problem there. Do you have an idea about who is faulty? Gdb?

Yves.

---

From: Miquel van Smoorenburg <[email-masked]>
Date: Sat, 10 Aug 1996 00:00:29 +0200 (MET DST)

> So there's a problem there. Do you have an idea about who is faulty? Gdb?

As I understand it, the way you call gdb is

gdb [executable] [its core file]

preferrably with [executable] compiled with -g and linked statically

I doubt that gdb can read core files without an accompanying executable..

Mike.
-- 
  Miquel van    | Cistron Internet Services   --    Alphen aan den Rijn.
  Smoorenburg,  | mailto:[email-masked]          http://www.cistron.nl/
[email-masked] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)