Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)
Commands for controlled output.............................................................................................222
19 Using GDB under gnu Emacs.................................................................224
20 GDB Annotations.................................................................................226
What is an annotation?.........................................................................................................226
The server prefix...................................................................................................................226
Values.................................................................................................................................226
Frames................................................................................................................................228
Displays..............................................................................................................................229
Annotation for GDB input......................................................................................................229
Errors..................................................................................................................................230
Information on breakpoints....................................................................................................230
Invalidation notices...............................................................................................................231
Running the program............................................................................................................231
Displaying source.................................................................................................................231
Annotations We Might Want in the Future................................................................................232
21 The GDB/MI Interface...........................................................................233
GDB/MI Command Syntax....................................................................................................233
GDB/MI Input syntax.......................................................................................................233
GDB/MI Output syntax.....................................................................................................234
Simple examples of GDB/MI interaction.............................................................................235
GDB/MI compatibility with CLI...............................................................................................235
GDB/MI output records.........................................................................................................236
GDB/MI result records.....................................................................................................236
GDB/MI stream records...................................................................................................236
GDB/MI out-of-band records.............................................................................................236
GDB/MI command description format.....................................................................................236
GDB/MI breakpoint table commands......................................................................................237
GDB/MI Data manipulation...................................................................................................243
GDB/MI program control......................................................................................................251
Miscellaneous GDB commands in GDB/MI.............................................................................259
GDB/MI Stack Manipulation Commands.................................................................................260
GDB/MI Symbol query commands.........................................................................................264
GDB/MI Target Manipulation Commands................................................................................267
GDB/MI thread commands...................................................................................................270
GDB/MI tracepoint commands...............................................................................................271
GDB/MI variable objects......................................................................................................272
22 Reporting Bugs in GDB.........................................................................276
Have you found a bug?.........................................................................................................276
How to report bugs...............................................................................................................276
23 Documentation feedback.......................................................................279
A Installing GDB.......................................................................................280
Compiling GDB in another directory.......................................................................................281
Specifying names for hosts and targets....................................................................................282
configure options..................................................................................................................282
10 Contents