This info
command (abbreviated i
) is for describing the state of
your program. For example, you can list the current $1
, $2
parameters with info args
, or list the breakpoints you have set
with info breakpoints
or info watchpoints
. You can get
a complete list of the info
sub-commands with help info
.
info args
¶Argument variables (e.g. $1, $2, ...) of the current stack frame.
info breakpoints
info display
info files
info functions
info line
info program
info signals
info source
info stack
info terminal
info variables
All global and static variable names