What to do with core dumps?

David Goodenough dg at lakart.UUCP
Fri Jun 23 23:59:14 AEST 1989


>From article <4644 at ficc.uu.net>, by peter at ficc.uu.net (Peter da Silva):
> My absolutely favorite thing to do with a core dump is turn it into an
> executable again. I used to do this to make snapshots of FORTH programs
> back in V7 days, and it was very useful. The original inspiration came
> from good old Adventure (the 350 point version), of course.
> 
> How to do it? Well, in V7 it was easy... a.out and core formats were almost
> identical. Today... I don't know. have to look into it some time.

Doesn't emacs do that already in some implementations. I was trying to
install it (what a joke :-) ) and part of the Makefile talked about

# run the program - it'll crash and dump core, but we want the core image

BTW does anyone have a version of emacs source that doesn't require a
FUBAR crt0.o - I am still waiting for a reasonable explanation as to
why an executable (or a sensibly written one) needs anything other than
the standard crt0.o. Alternatively if you have an executable emacs that
will run on an Integrated Solutions Optimum V24, 68020, 4.3BSD, please
uuencode it and send it my way.

What _I_ do with coredumps is print them in hex (or octal if I'm feeling
truly religious), then take the listing home. Makes great wallpaper .....
and I can debug the Kernel as I'm going to sleep .....
-- 
	dg at lakart.UUCP - David Goodenough		+---+
						IHS	| +-+-+
	....... !harvard!xait!lakart!dg			+-+-+ |
AKA:	dg%lakart.uucp at xait.xerox.com		  	  +---+



More information about the Comp.unix.questions mailing list