Specify Location (Debugging with GDB)

From Get docs
Gdb/docs/latest/gdb/Specify-Location

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



9.2 Specifying a Location

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.

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