Debugging with GDB (September 2007)

302 Debugging with GDB
~GDB is free software, covered by the GNU General Public License, and
~you are welcome to change it and/or distribute copies of it under
~ certain conditions.
~Type "show copying" to see the conditions.
~There is absolutely no warranty for GDB. Type "show warranty" for
~ details.
~This GDB was configured as
"--host=sparc-sun-solaris2.5.1 --target=ppc-eabi".
^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 no equivalent GDB command.