Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

^done
(gdb)
21.9 GDB/MI Stack Manipulation Commands
The -stack-info-frame command
Synopsis
-stack-info-frame
Get info on the current frame.
GDB command
The corresponding GDB command is 'info frame' or 'frame' (without arguments).
Example
N.A.
The -stack-info-depth command
Synopsis
-stack-info-depth [ max-depth ]
Return the depth of the stack. If the integer argument max-depth is specified, do not count beyond
max-depth frames.
GDB command
There is no equivalent GDB command.
Example
For a stack with frame levels 0 through 11:
(gdb)
-stack-info-depth
^done,depth="12"
(gdb)
-stack-info-depth 4
^done,depth="4"
(gdb)
-stack-info-depth 12
^done,depth="12"
(gdb)
-stack-info-depth 11
^done,depth="11"
(gdb)
-stack-info-depth 13
^done,depth="12"
(gdb)
The -stack-list-arguments command
Synopsis
-stack-list-arguments show-values
[ low-frame high-frame ]
Display a list of the arguments for the frames between low-frame and high-frame (inclusive).
If low-frame and high-frame are not provided, list the arguments for the whole call stack.
21.9 GDB/MI Stack Manipulation Commands 271