27.4. Frames

Whenever gdb prints a frame, it annotates it. For example, this applies to frames printed when gdb stops, output from commands such as backtrace or up, etc.

The frame annotation begins with

^Z^Zframe-begin level address
level-string

where level is the number of the frame (0 is the innermost frame, and other frames have positive numbers), address is the address of the code executing in that frame, and level-string is a string designed to convey the level to the user. address is in the form 0x followed by one or more lowercase hex digits (note that this does not depend on the language). The frame ends with

^Z^Zframe-end

Between these annotations is the main body of the frame, which can consist of