Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb 6.4 does not stop unwinding even after reaching the last frame.
@ 2007-03-28  9:24 Kalpana Ramamurthy
  2007-03-28 11:26 ` Daniel Jacobowitz
  2007-04-16 11:26 ` Why does gdb print a complete stack trace even after switching to other frames ? Kalpana Ramamurthy
  0 siblings, 2 replies; 11+ messages in thread
From: Kalpana Ramamurthy @ 2007-03-28  9:24 UTC (permalink / raw)
  To: gdb; +Cc: kal_pana

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-05-02 14:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28  9:24 gdb 6.4 does not stop unwinding even after reaching the last frame Kalpana Ramamurthy
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox