Next: Editing Source Files, Previous: Printing Source Lines, Up: Examining Source Files [Contents][Index]
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.