Re: magic file entry to understand core dumps

Aaron Ucko (UCKO@vax1.rockhurst.edu)
Thu, 18 Jul 1996 17:58:28 -0600 (CST)


> Works for me:
>
>lunar:~> make test
>cc test.c -o test
>./test
>lunar:~> ./test
>Floating exception (core dumped)
>lunar:~> file core
>core: ELF 32-bit LSB core file i386 (386 and up) Version 1

That's not what Marty was asking for. Read his message more carefully;
he wanted something like the output for Linux a.out core dumps, i.e.
core: ELF 32-bit LSB core file i386 (386 and up) Version 1 of 'test' (signal 8)

-- 
Aaron Ucko (ucko@vax1.rockhurst.edu; finger for PGP public key) | Geek Code
3.1 [for explanation, finger hayden@mankato.msus.edu]: GCS/M/S/C d- s+: a18
C++(+++)>++++ UL++>+++ P++(+++) L+++(++++)>+++++ E- W+(-) N++(+) o+ K- w---
O M-@ V-(--) PS++(+++) PE- Y+ PGP(+) t(+) !5 X-- R(-) tv-@ b++(+++) DI+ D--
G++(+++) e>+++++(*) h!>+ r-(--)>+++ y? | "That's right," he said. "We're
philosophers.  We think, therefore we am." -- Terry Pratchett, _Small Gods_