Next: , Up: Information and Settings   [Contents][Index]


4.13.1 Showing information about the program being debugged (‘info’)

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

Status of user-settable breakpoints

info display

Show all display expressions

info files

Source files in the program

info functions

All function names

info line

list current line number and and file name

info program

Execution status of the program.

info signals

What debugger does when program gets various signals

info source

Information about the current source file

info stack

Backtrace of the stack

info terminal

Print terminal device

info variables

All global and static variable names