From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8539 invoked by alias); 7 Dec 2004 09:10:25 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8502 invoked from network); 7 Dec 2004 09:10:16 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (212.157.227.139) by sourceware.org with SMTP; 7 Dec 2004 09:10:16 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id D9FAC47DAB; Tue, 7 Dec 2004 10:10:15 +0100 (CET) Date: Tue, 07 Dec 2004 09:40:00 -0000 From: Joel Brobecker To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Infinite backtraces... Message-ID: <20041206182914.GC1492@adacore.com> References: <20041202231255.GM994@adacore.com> <20041203024314.GR6359@tausq.org> <20041203025737.GT994@adacore.com> <20041203045252.GU6359@tausq.org> <20041203165430.GC16491@adacore.com> <20041206035112.GE6359@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041206035112.GE6359@tausq.org> User-Agent: Mutt/1.4i Resent-From: brobecke@adacore.com Resent-Date: Tue, 7 Dec 2004 10:10:15 +0100 Resent-To: gdb-patches@sources.redhat.com Resent-Message-Id: <20041207091015.D9FAC47DAB@takamaka.act-europe.fr> X-SW-Source: 2004-12/txt/msg00196.txt.bz2 > #0 callee > #1 callee stub > #2 caller > > if you do a "finish" from callee, gdb will stop in the callee stub > instead of at the caller. quite annoying :( Ah yes, of course. What a bummer. > i'm wondering if we should make the hppa unwinders more export-stub > aware -- e.g. in hppa_frame_cache (), after we've determined the address > of the current frame, we can see if this is an "export stub" frame, and > if so automatically rewind one more frame. i think this should work and > shouldn't cause any problems.... thoughts? I would certainly agree with that. -- Joel