Next: Edit, Previous: List, Up: Source   [Contents][Index]

9.2 Specifying a Location

Linespec Locations:    Linespec locations
Explicit Locations:    Explicit locations
Address Locations:    Address locations

Several GDB commands accept arguments that specify a location of your program’s code. Since GDB is a source-level debugger, a location usually specifies some line in the source code. Locations may be specified using three different formats: linespec locations, explicit locations, or address locations.