From: Randolph Chung <randolph@tausq.org>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch] relax test in gdb.base/commands.exp
Date: Sun, 28 Nov 2004 19:19:00 -0000 [thread overview]
Message-ID: <20041128191920.GI6359@tausq.org> (raw)
In-Reply-To: <20041128174334.GB24639@nevyn.them.org>
> 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/
next prev parent reply other threads:[~2004-11-28 19:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 23:29 Randolph Chung
2004-11-28 17:43 ` Daniel Jacobowitz
2004-11-28 19:19 ` Randolph Chung [this message]
2004-12-01 8:07 ` Randolph Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041128191920.GI6359@tausq.org \
--to=randolph@tausq.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox