According to LENGARD Pascal OCISI: While burning my CPU.
> 
> 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

file will not tell you which program dumped core.
file with its options will tell you a lot about a "file" but a core file is
a "dump" of information for debugging perpourses.

core: ELF 32-bit LSB core file (signal 11), Intel 80386, version 

The above is caused by a "badly written C program" guess who wrote it, -;)
the program name is 'gcu' but "file" does not show the name from the core 
file, gdb does however.

> 
> (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]
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Merry Xmas to all, and may all your troubles be small (ones).

Reply via email to