From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 00:20:37 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A3F1065670; Fri, 18 Apr 2008 00:20:37 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id BF6B58FC1C; Fri, 18 Apr 2008 00:20:37 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id m3I0KbQQ012979; Thu, 17 Apr 2008 17:20:37 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m3I0Kbom012978; Thu, 17 Apr 2008 17:20:37 -0700 (PDT) (envelope-from obrien) Date: Thu, 17 Apr 2008 17:20:37 -0700 From: "David O'Brien" To: Coleman Kane Message-ID: <20080418002037.GA11705@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Coleman Kane , freebsd-current@FreeBSD.org, jhb@FreeBSD.org References: <1208208513.1279.51.camel@localhost> <1208208998.1279.54.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1208208998.1279.54.camel@localhost> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@FreeBSD.org, jhb@FreeBSD.org Subject: Re: Patch to fix crashing experienced while using GDB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 00:20:38 -0000 On Mon, Apr 14, 2008 at 05:36:38PM -0400, Coleman Kane wrote: > 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 OK, I'll take a look at it. -- - David (obrien@FreeBSD.org)