Contents|Index|Previous|Next

Assembly window

Figure 10: Assembly window

The Assembly window (Figure 10) has a scroll bar along its right side and a status bar just under its data display area. The arrow indicates the current PC.

It has four standard menus: File (see Common menus for the GDB GUI), Window (see Common menus for the GDB GUI), Options (the Options menu for the Assembly window is in development and has no functionality now) and Help (see Common menus for the GDB GUI).

Assembly Window buttons

The Assembly window has seven command buttons.

- Stepi
  Executes one instruction, then stops and returns control to GDB.
- Cont
  Resumes execution until completion or until a breakpoint is encountered.
- Up
  Displays the disassembly of the caller of the current function.
- Bottom
  Displays the disassembly of the function at the current PC (bottom of stack).
- Nexti
  Executes one machine instruction unless it is a function call in which case it allows the process to continue until the function returns.
- Finish
  Runs the debugging process until just after the function in the current stack frame returns.
- Down
  Displays the disassembly of the function in the next stack frame down.