This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]