Why does gdb print a complete stack trace even after switching to other frames ?
Daniel Jacobowitz
drow@false.org
Mon Apr 16 11:37:00 GMT 2007
On Mon, Apr 16, 2007 at 11:26:42AM +0000, Kalpana Ramamurthy wrote:
> 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 ?
No, why should it? Otherwise if you wanted to go down (towards frame
0), you would never know which frame you wanted.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list