From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 316 invoked by alias); 5 Jan 2006 04:47:58 -0000 Received: (qmail 309 invoked by uid 22791); 5 Jan 2006 04:47:57 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.196) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jan 2006 04:47:56 +0000 Received: by zproxy.gmail.com with SMTP id x3so3166577nzd for ; Wed, 04 Jan 2006 20:47:55 -0800 (PST) Received: by 10.36.13.1 with SMTP id 1mr1161720nzm; Wed, 04 Jan 2006 20:47:54 -0800 (PST) Received: by 10.37.2.42 with HTTP; Wed, 4 Jan 2006 20:47:54 -0800 (PST) Message-ID: <8f2776cb0601042047h147bcf22q1a6b1d7c21051232@mail.gmail.com> Date: Thu, 05 Jan 2006 04:47:00 -0000 From: Jim Blandy To: Jim Blandy , fnf@specifix.com, gdb-patches@sourceware.org Subject: Re: [PATCH] Fix ptype problem printing typedefs defined differently in different compilation units In-Reply-To: <20060105005425.GA17668@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200601031517.50309.fnf@specifix.com> <200601032147.14083.fnf@specifix.com> <8f2776cb0601031945gb876b84i48c145c291ecbcee@mail.gmail.com> <200601041604.49977.fnf@specifix.com> <8f2776cb0601041626l3d5a006j3160636ff299cd90@mail.gmail.com> <20060105005425.GA17668@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00057.txt.bz2 On 1/4/06, Daniel Jacobowitz wrote: > I think it'd be pretty complicated. The line may map to multiple > functions, et cetera et cetera. Sure, doing a perfect job isn't really practical given GDB's present data structures. But we could do as well as (say) "break FILE:LINE if COND" does at determining the proper scope for evaluating COND. Fred, to be clear, I don't want to discourage you by piling on suggestions. I see the patch as a bug fix as it stands. "Would it be hard..." was a genuine question.