From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23531 invoked by alias); 2 Nov 2004 23:33:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23523 invoked from network); 2 Nov 2004 23:33:37 -0000 Received: from unknown (HELO pippin.tausq.org) (64.81.244.94) by sourceware.org with SMTP; 2 Nov 2004 23:33:37 -0000 Received: by pippin.tausq.org (Postfix, from userid 1000) id 9B870CE596; Tue, 2 Nov 2004 15:33:37 -0800 (PST) Date: Tue, 02 Nov 2004 23:33:00 -0000 From: Randolph Chung To: gdb@sources.redhat.com Subject: Re: Unwinding past main Message-ID: <20041102233337.GX4249@tausq.org> Reply-To: Randolph Chung References: <20041102232929.GW4249@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041102232929.GW4249@tausq.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00021.txt.bz2 > doing a backtrace from foo results in an infinite loop :) I see some > code in gcc that tries to determine when we are in the main() function, ^^^ should be "gdb" > and stops the backtrace. But here, foo() returns directly to the caller randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/