Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
28 Oct 1998 13:37:22 +0100


smurf@noris.de (Matthias Urlichs) writes:

|> In dist.linux.kernel, article <909551496.30024@noris.de>,
|> "Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net> writes:
|> > In message <m0zYGuU-0007UkC@the-village.bc.nu>, Alan Cox writes:
|> > | Its a nice solution. I still miss the approach some non unix platforms have
|> > | where when the program takes the fatal exception its frozen and dumped under
|> > | the debugger
|> >
|> > So? Put together a replacement for the exec*() family and use LD_PRELOAD.
|>
|> I'd rather like to see a method to tell the kernel to stop a process
|> instead of coredumping.
|>
|> That way, the shell will notice, and you can either attach to the thing
|> with gdb, or tell it to continue (at which point it'll drop core for real).

What's wrong with running the program under gdb in the first place?

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/