From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28122 invoked by alias); 28 Nov 2004 19:19:32 -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 27978 invoked from network); 28 Nov 2004 19:19:22 -0000 Received: from unknown (HELO localhost.localdomain) (64.81.244.109) by sourceware.org with SMTP; 28 Nov 2004 19:19:22 -0000 Received: by localhost.localdomain (Postfix, from userid 1000) id 038FC43998; Sun, 28 Nov 2004 11:19:20 -0800 (PST) Date: Sun, 28 Nov 2004 19:19:00 -0000 From: Randolph Chung To: gdb-patches@sources.redhat.com Subject: Re: [patch] relax test in gdb.base/commands.exp Message-ID: <20041128191920.GI6359@tausq.org> Reply-To: Randolph Chung References: <20041122232915.GG9148@tausq.org> <20041128174334.GB24639@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041128174334.GB24639@nevyn.them.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.6+20040722i X-SW-Source: 2004-11/txt/msg00497.txt.bz2 > Why do we get it in the epilogue? Is it because the debug information > claims the variable has gone out of scope, or is it because of > faulty unwind information for the epilogue causing GDB to think the > frame has changed? oh, probably the latter..... inside the function, the backtrace shows: (gdb) bt #0 factorial (value=1) at ../../../gdb-cvs/gdb/testsuite/gdb.base/run.c:77 #1 0x00010584 in main (argc=1, argv=0xbff00220, envp=0xbff00228) at ../../../gdb-cvs/gdb/testsuite/gdb.base/run.c:57 but in the epilogue: (gdb) bt #0 0x00010624 in factorial (value=1) at ../../../gdb-cvs/gdb/testsuite/gdb.base/run.c:82 #1 0x403a146c in __libc_start_main () from /lib/libc.so.6 #2 0x00010480 in _start () at ../sysdeps/hppa/elf/start.S:67 > If the former, then maybe your patch is correct. If the latter, it > should probably be an XFAIL. ok, i'll look into this some more. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/