On my Redhat 5.1 system it does , yes:

$ file core
core: ELF 32-bit LSB core file of 'main' (signal 6), Intel 80386, version   
1

(i used a program called main that simply call abort ...)

 -----Message d'origine-----
De: Tom Zych [SMTP:[EMAIL PROTECTED]]
Date: samedi 5 décembre 1998 22:17
À: [EMAIL PROTECTED]
Objet: Re: Core dumps

LENGARD Pascal OCISI wrote:

> use "file" on a core file will tell you the name of the executable that
> produced it.

Does it?  It didn't on my machine (Slackware with kernel 2.0.30).

Rich Adams is right about gdb -c, though.  That does work.

 --
Tom Zych
[EMAIL PROTECTED]

Reply via email to