(gdb)
[frame={level="3 ",addr="0x000107a4",func="foo", file="recursive2.c",line="14"}]
(gdb)
TheSynopsis
Display the local variable names for the current frame. With an argument of 0 prints only the names of the variables, with argument of 1 prints also their values.
GDB command
'info locals' in GDB, 'gdb_get_locals' in gdbtk.
Example
(gdb)
(gdb)
TheSynopsis
Change the current frame. Select a different frame framenum on the stack.
GDB command
The corresponding GDB commands are 'frame', 'up', 'down',
Example
(gdb)
(gdb)
21.9 GDB/MI Stack Manipulation Commands 345