www.delorie.com/gnu/docs/gdb/gdb_271.html   search  
 
Buy the book!


Debugging with GDB

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C. Maintenance Commands

In addition to commands intended for GDB users, GDB includes a number of commands intended for GDB developers. These commands are provided here for reference.

maint info breakpoints
Using the same format as `info breakpoints', display both the breakpoints you've set explicitly, and those GDB is using for internal purposes. Internal breakpoints are shown with negative breakpoint numbers. The type column identifies what kind of breakpoint is shown:

breakpoint
Normal, explicitly set breakpoint.

watchpoint
Normal, explicitly set watchpoint.

longjmp
Internal breakpoint, used to handle correctly stepping through longjmp calls.

longjmp resume
Internal breakpoint at the target of a longjmp.

until
Temporary internal breakpoint used by the GDB until command.

finish
Temporary internal breakpoint used by the GDB finish command.

shlib events
Shared library events.

maint print registers
maint print raw-registers
maint print cooked-registers
Print GDB's internal register data structures.

The command `maint print raw-registers' includes the contents of the raw register cache; and the command `maint print cooked-registers' includes the (cooked) value of all registers. See section `Registers' in GDB Internals.

Takes an optional file parameter.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003