Next: GDB Mode, Up: Controlling CGDB [Contents][Index]
When you are in the source window, you are implicitly in CGDB mode. All of the below commands are available during this mode. This mode is primarily available for the user to view the current source file, search it, or switch to a different mode.
Puts the user into command mode. However, you are already in this mode. This is defaulted to the ESC key.
Puts the user into GDB mode.
Puts the user into scroll mode in the GDB mode.
Opens a new tty for the debugged program.
Toggle the window orientation (horizontal <-> vertical).
Move up a line or up ‘<number>’ lines.
Move down a line or down ‘<number>’ lines.
Move left a line.
Move right a line.
Move up a page.
Move up 1/2 a page.
Move down a page.
Move down 1/2 a page.
Move to the top of file.
Move to the bottom of file or to a line number within the file.
Set a mark at the cursor position. A lower case letter sets a local mark that is valid within one file. An upper case letter sets a global mark valid between files. If there are ten files, each file can have a mark ‘a’, but only one can have a mark ‘A’.
Jump to the corresponding local or global mark.
Jump to the last jump location.
Jump to the currently executing line.
search from current cursor position.
reverse search from current cursor position.
next forward search.
next reverse search.
open the file dialog.
Sets a breakpoint at the current line number.
Sets a temporary breakpoint at the current line number.
Shrink source window 1 line or column (depending on split orientation).
Grow source window 1 line or column (depending on split orientation).
Shrink source window 25%
Grow source window 25%
Clear and redraw the screen.
Send a run command to GDB.
Send a continue command to GDB.
Send a finish command to GDB.
Send a next command to GDB.
Send a step command to GDB.
Next: GDB Mode, Up: Controlling CGDB [Contents][Index]