From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25455 invoked by alias); 7 Dec 2004 16:37:16 -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 25358 invoked from network); 7 Dec 2004 16:37:11 -0000 Received: from unknown (HELO arwen.tausq.org) (64.81.244.109) by sourceware.org with SMTP; 7 Dec 2004 16:37:11 -0000 Received: by arwen.tausq.org (Postfix, from userid 1000) id 18DBF111F54; Tue, 7 Dec 2004 08:37:10 -0800 (PST) Date: Tue, 07 Dec 2004 16:52:00 -0000 From: Randolph Chung To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Infinite backtraces... Message-ID: <20041207163709.GY6359@tausq.org> Reply-To: Randolph Chung References: <20041203024314.GR6359@tausq.org> <20041203025737.GT994@adacore.com> <20041203045252.GU6359@tausq.org> <20041203165430.GC16491@adacore.com> <20041203180324.GE6359@tausq.org> <20041203182049.GF16491@adacore.com> <20041206071739.GI6359@tausq.org> <20041207094028.GA2524@adacore.com> <20041207155603.GX6359@tausq.org> <20041207163147.GQ2524@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041207163147.GQ2524@adacore.com> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.6+20040722i X-SW-Source: 2004-12/txt/msg00202.txt.bz2 > I don't see how the stub unwinder code is going to be used if you > are going to be skipping them. The only case when it is going to > be used is when uwinding a program that was stopped just inside one. > No? not exactly... 1) it is used when stepping into a function called by a stub (this is essential for software watchpointing; since there's hardware watch pointing on hpux it may be less important) 2) it is used when the current frame's pc is 0 in this case, even if we skip the stub that calls the pthread start function, the return from the real pthread_start function will still be zero after you skip the stub, so we still need the stub unwinder to return a null_frame_id to terminate the unwinding. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/