Summary of the info Command

The info command displays information about the state of the debuggee (as opposed to show, which provides information about internal GDB features, variables and options). With no arguments, it provides a list of possible features about which information is available.

info ...

Information displayed

address sym

Information about where symbol sym is stored. This is either a memory address or a register name.

all-registers

Information about all registers, including floating-point registers.

args

Information about the arguments to the current function (stack frame).

break [bpnum]

Information about breakpoint bpnum if given, or about all breakpoints if not.

breakpoints [bpnum]

Same information as the info break command.

catch

Information on exception handlers active in the current frame.

classes [regexp]

Information about Objective-C classes that match regexp, or about all classes if regexp is not given.

display

Information about items in the automatic display list.

extensions

Information about the correspondence of filename extensions to source code programming languages.

f [address]

Same information as the info frame command.

files

Information about the current debugging target, including the current executable, core, and symbol files.

float

Information about the floating-point flags and registers.

frame [address]

With no argument, print information about the current frame. With an address, print information about ...

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.