Re: Patch to fix crashing experienced while using GDB

From: Coleman Kane <cokane_at_FreeBSD.org>
Date: Mon, 14 Apr 2008 17:36:38 -0400
On Mon, 2008-04-14 at 17:28 -0400, Coleman Kane wrote:
> Hello,
> 
> Some time ago, I got the attached patch from jhb (IIRC). It has worked
> for me and cured a problem that was making a bunch of my code
> un-traceable using GDB on FreeBSD. Debugging would result in a crash of
> GDB, preventing me from seeing what bug I had that crashed my program.
> 
> Anyhow, my question is: Is there any reason this shouldn't be pushed
> into the tree? Who do I need to talk to (obrien? the compiler
> maintainers?) about it?

BTW, this has already been fixed in the GDB sources (using nearly the
exact same code) since August 2004 in rev. 1.79 of gdb/target.c:

http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/target.c?rev=1.79&content-type=text/x-cvsweb-markup&cvsroot=src

-- 
Coleman Kane

Received on Mon Apr 14 2008 - 19:37:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC