From: "Kalpana Ramamurthy" <kal_pana@hotmail.com>
To: gdb@sourceware.org
Cc: kal_pana@hotmail.com
Subject: gdb 6.4 does not stop unwinding even after reaching the last frame.
Date: Wed, 28 Mar 2007 09:24:00 -0000 [thread overview]
Message-ID: <BAY144-F17D07694641D81ABD45D91E86D0@phx.gbl> (raw)
Hello,
I am using gdb 6.4 for debugging the product that I work on. When I try to
print a bactrace, I get
an extra frame at the end which looks like this :
#6 0x00000000 in ?? ()
The newer frame (which is frame 5) is supposed to be the last frame. But for
some reason gdb does
not stop unwinding even after it reaches the last frame and tries to unwind
further hence hitting
a null backpointer where it cannot unwind any further. The instruction
pointer is null too.
When I tried using gdb 5.3 to debug the same binary and analyse the same set
of cores which I had analysed using gdb 6.4, I do not get this extra frame
problem. The frame unwinding stops
at frame 5. Ther is no null 6th frame.
What is wrong here ? Why the difference in behaviour between gdb 6.4 and gdb
5.3. I know that gdb 5.3 uses stabs debugging format and gdb 6.4 uses dwarf.
Could this be a reason for the problem ?
_________________________________________________________________
Palate teasers: Straight from Master Chef Sanjeev Kapoor
http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifestylePT_101106_1530.htm
next reply other threads:[~2007-03-28 9:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-28 9:24 Kalpana Ramamurthy [this message]
2007-03-28 11:26 ` Daniel Jacobowitz
2007-03-29 6:36 ` gdb 6.4 does not stop unwinding even after reaching the lastframe Kalpana Ramamurthy
2007-03-29 11:05 ` Daniel Jacobowitz
2007-03-30 10:47 ` Errors in gdb6.4 "incomplete CFI data" and "const value length mismatch" Kalpana Ramamurthy
2007-03-30 11:33 ` Daniel Jacobowitz
2007-04-02 5:27 ` Errors in gdb6.4 "incomplete CFI data" and "const value lengthmismatch" Kalpana Ramamurthy
2007-04-02 10:53 ` Daniel Jacobowitz
2007-04-16 11:26 ` Why does gdb print a complete stack trace even after switching to other frames ? Kalpana Ramamurthy
2007-04-16 11:37 ` Daniel Jacobowitz
2007-05-02 14:10 ` gdb 6.4 not allowing me to change the value of registers like $SP,$RBP and $RIP Kalpana Ramamurthy
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=BAY144-F17D07694641D81ABD45D91E86D0@phx.gbl \
--to=kal_pana@hotmail.com \
--cc=gdb@sourceware.org \
/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