This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: libSegFault and just in time debugging
> On Fri, Jun 29, 2007 at 12:10:32PM -0700, Michael Snyder wrote:
> > What if, instead of doing that, libSegFault (or another similar library)
> > were to open a socket to a daemon and say "I caught a crash -- what
> > do you want me to do?". And then wait for a reply. All that can be
> > done with async-signal-safe function calls.
>
> It's a brilliant idea. Ubuntu did it :-) It uses the Linux kernel's
> core handling support, and is called apport.
Yes, apport is slick, but it relies on kernel mods.
This doesn't. In fact, it isn't even peculiar to Linux, it would
work on any glibc system, and in principle even on systems
that don't use glibc. Probably any unix, and even cygwin.