This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debugging glibc crashes with GDB
On Mon, Mar 12, 2007 at 04:59:20PM -0700, Michael Snyder wrote:
> On Mon, 2007-03-12 at 07:03 -0400, Daniel Jacobowitz wrote:
> > On Mon, Mar 12, 2007 at 09:29:40AM +0100, Mark Kettenis wrote:
> > > Someone who cares enough about this should talk to the GCC and/or
> > > glibc people to make sure backtraces through abort() work.
> >
> > Working on it.
>
> Might a person work around this, in the mean time,
> by supplying his own version of abort?
Yes, if you can build one that GDB is happy with. GCC detects that it
is declared noreturn, and/or doesn't return.
--
Daniel Jacobowitz
CodeSourcery