Move a specific number of frames up the stack and print them.
up [ num ]
num |
A numeric expression of non-negative value. The default value is 1. |
This command moves to the stack frame num levels above the current frame and then prints those frames. The default value for num is 1.
If the specified number of levels exceeds the number of active calls on the stack in the specified direction, the debugger issues a warning message and the call frame does not change.
When the current call frame changes, the debugger displays the source line corresponding to the last instruction executed in the function executing the selected call frame.
GDB Mode:
(idb) up 2 #2 0x08051a3c in main () at src/x_list.cxx:203 203 nodeList.print(); (idb) list 200,+5 200 CompoundNode* cNode2 = new CompoundNode(10.123, 5); 201 nodeList.append(cNode2); {static int somethingToReturnTo; somethingToReturnTo++; } 202 203 nodeList.print(); 204 }
Copyright © 2001-2011, Intel Corporation. All rights reserved.