This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: libSegFault and just in time debugging
On Sat, Jun 30, 2007 at 01:52:35PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 29 Jun 2007 16:00:00 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > 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.
--
Daniel Jacobowitz
CodeSourcery