From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12418 invoked by alias); 5 Jan 2006 00:26:32 -0000 Received: (qmail 12408 invoked by uid 22791); 5 Jan 2006 00:26:32 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jan 2006 00:26:30 +0000 Received: by zproxy.gmail.com with SMTP id x3so3128255nzd for ; Wed, 04 Jan 2006 16:26:29 -0800 (PST) Received: by 10.36.227.5 with SMTP id z5mr6226501nzg; Wed, 04 Jan 2006 16:26:28 -0800 (PST) Received: by 10.37.2.42 with HTTP; Wed, 4 Jan 2006 16:26:28 -0800 (PST) Message-ID: <8f2776cb0601041626l3d5a006j3160636ff299cd90@mail.gmail.com> Date: Thu, 05 Jan 2006 00:26:00 -0000 From: Jim Blandy To: fnf@specifix.com Subject: Re: [PATCH] Fix ptype problem printing typedefs defined differently in different compilation units Cc: gdb-patches@sourceware.org In-Reply-To: <200601041604.49977.fnf@specifix.com> 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> 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/msg00052.txt.bz2 On 1/4/06, Fred Fish wrote: > 2006-01-04 Fred Fish > > * parse.c (source.h): Include. > (parse_exp_in_context): Use static source context if no > other context found. Thanks for revising this! Would it be hard to find the innermost block that contains the current line? Say, a sal->pc->block mapping? We could fall back to the static block if some step failed.