[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7. Examining Source Files
No value for GDBN can print parts of your program's source, since the debugging information recorded in the program tells No value for GDBN what source files were used to build it. When your program stops, No value for GDBN spontaneously prints the line where it stopped. Likewise, when you select a stack frame (see section Selecting a Frame), No value for GDBN prints the line where execution in that frame has stopped. You can print other portions of source files by explicit command.
If you use No value for GDBN through its GNU Emacs interface, you may prefer to use Emacs facilities to view source; see Using No value for GDBN under GNU Emacs.
7.1 Printing Source Lines | Printing source lines | |
7.2 Editing Source Files | Editing source files | |
7.3 Searching Source Files | Searching source files | |
7.4 Specifying Source Directories | Specifying source directories | |
7.5 Source and Machine Code | Source and machine code |