Debugging with GDB: Annotations

Next: JIT Interface, Previous: GDB/MI, Up: Top   [Contents][Index]


28 GDB Annotations

This chapter describes annotations in GDB. Annotations were designed to interface GDB to graphical user interfaces or other similar programs which want to interact with GDB at a relatively high level.

The annotation mechanism has largely been superseded by GDB/MI (see GDB/MI).

• Annotations Overview:    What annotations are; the general syntax.
• Server Prefix:    Issuing a command without affecting user state.
• Prompting:    Annotations marking GDB’s need for input.
• Errors:    Annotations for error messages.
• Invalidation:    Some annotations describe things now invalid.
• Annotations for Running:    Whether the program is running, how it stopped, etc.
• Source Annotations:    Annotations describing source code.