Re: RFC: Stack saving/tracing functionality.
From: Bakul Shah (bakul_at_BitBlocks.com)
Date: 06/11/05
- Previous message: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- In reply to: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Next in thread: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Reply: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Date: Sat, 11 Jun 2005 08:46:29 -0700
> ... but it would be neat if it could also save/print userland stacks
> so that we could get tracebacks from abort()'ing userland programs.
Along these lines; wouldn't it be neat if there was a sysctl
to leave a segfaulted or aborted process around so that you
can attach a debugger to it and find out what went wrong (and
may be even correct it!)? Debugging a live process (even if
fatally injured) yields more clues as you can poke around at
its I/O connections, its caller process etc. A separate
program can be used to create a coredump if you really wish
to preseve the dead body for later autopsy.
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- In reply to: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Next in thread: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Reply: Poul-Henning Kamp: "Re: RFC: Stack saving/tracing functionality."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]