Why does gdb print a complete stack trace even after switching to other frames ?

Kalpana Ramamurthy kal_pana@hotmail.com
Mon Apr 16 11:26:00 GMT 2007


Hello,

Even after switching frames using "frame <frame number>", the backtrace 
prints
a complete backtrace from 0 to the oldest frame. Shouldn't the backtrace be 
from the
switched frame to the oldest frames instead of from the 0'th frame ? For 
example, if I switch to frame 3, bt should print from frame 3 to the oldest 
frame and not from frame 0 to oldest frame.
Why does gdb show this behaviour of printing the complete stack trace 
irrespective of which
frame we are switching on ?

Kalpana
===

_________________________________________________________________
Free & easy posting . Yello Classifieds. 
http://www.yello.in/home.php?utm_source=hotmailtag&utm_medium=textlink&utm_content=in&utm_campaign=april



More information about the Gdb mailing list