lkml.org 
[lkml]   [1996]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: magic file entry to understand core dumps
Date
From
>>>>> "JM" == Jared Mauch <jared@wolverine.hq.cic.net> writes:

JM> core: ELF 32-bit LSB core file i386 (386 and up) Version 1

He wanted an addition to the magic file to show the program which
dumped core, as the a.out entry does. However, a quick check shows
that it isn't a simple offset... anyone have better knowledge of the
format?


JM> Marty Leisner graced my mailbox with this long sought knowledge:
>> Does anyone have a magic line to correctly decode a linux elf core
>> dump?
>>
>> I looked in gdb but got pretty confused...(but it seems to
>> understand the core file).
>>
>> It would be worthwhile to write a cheezy program to print the
>> command name of the core dump if file can't do it...
>>
>> marty leisner@sdsp.mc.xerox.com Member of the League for
>> Programming Freedom (http://www.lpf.org) Any sufficiently advanced
>> technology is indistinguishable from magic Arthur C. Clarke, The
>> Lost Worlds of 2001
>>


--
Alan Shutko <ats@hubert.wustl.edu> - The Few, the Proud, the Remaining.
DM Advice: Maps on the table have a tendency to attract soda.


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.094 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site