From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24699 invoked by alias); 4 Jan 2006 11:15:23 -0000 Received: (qmail 24687 invoked by uid 22791); 4 Jan 2006 11:15:22 -0000 X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO duck.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 04 Jan 2006 11:15:20 +0000 Received: from diveadx (duck.specifix.com [64.220.152.99]) by duck.specifix.com (Postfix) with ESMTP id 5FC67FC4D; Wed, 4 Jan 2006 03:14:39 -0800 (PST) From: Fred Fish Reply-To: fnf@specifix.com To: Jim Blandy Subject: Re: [PATCH] Fix ptype problem printing typedefs defined differently in different compilation units Date: Wed, 04 Jan 2006 11:15:00 -0000 User-Agent: KMail/1.9.1 Cc: gdb-patches@sourceware.org, fnf@specifix.com References: <200601031517.50309.fnf@specifix.com> <200601032147.14083.fnf@specifix.com> <8f2776cb0601031945gb876b84i48c145c291ecbcee@mail.gmail.com> In-Reply-To: <8f2776cb0601031945gb876b84i48c145c291ecbcee@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601040615.14830.fnf@specifix.com> 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/msg00037.txt.bz2 On Tuesday 03 January 2006 22:45, Jim Blandy wrote: > What would break if get_selected_block used, in the absence of a > frame, the current source position? Or, if get_selected_block really > needs to return zero when there's no stack, what would break if > parse_exp_in_context used the current source position as a fallback > when get_selected_block returns zero? It seems reasonable to me. Excellent questions. Sounds like reasonable things to investigate for alternative solutions. I'll give it a try and see... -Fred