From: Branko Lankester (lankeste@fwi.uva.nl)
Date: 05/18/92


From: lankeste@fwi.uva.nl (Branko Lankester)
Subject: Re: gdb postmortem debugging...
Date: 18 May 1992 12:36:08 GMT

jyelon@aescylus.cs.uiuc.edu (Josh Yelon) writes:

>I have been using gdb for a little while, and it's working fine,
>except that I can't do postmortem debugging: once the program
>gets a SIGSEGV, it exits, and there is nothing left for gdb to
>debug.

You can replace do_exit(11) in die() in kernel/traps.c with
send_sig(SIGSEGV, current, 0), linux versions before 0.96 had
to use do_exit() because the old trap handlers didn't do signal
recognition.

Branko