This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: libSegFault and just in time debugging
> From: "Michael Snyder" <msnyder@sonic.net>
> Cc: <gdb@sourceware.org>
>
> > > > FYI, cygwin already does this, too; it can invoke dumper (to generate
> core
> > > > dumps) or GDB.
> > >
> > > By Cygwin does this using a Windows-specific technique, doesn't it?
> >
> > Sure. But LD_PRELOAD is a Unix-specific technique. I don't think
> > there's any way around it - when you want to deal with program crashes
> > and exceptions, you do something at least a bit platform specific.
LD_PRELOAD is actually ELF-specific.
> Either way, right now we don't have a JIT debugging technique
> for Unix. The question is, is it worth having one?
Given that the question pops up every now and then on the mailing
list, I'd say it is (even if I've never felt the desire for it
myself).
Mark