Debugging with GDB

Node:Maintenance Commands, Next:Remote Protocol, Previous:Installing GDB, Up:Top

## 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.