diff options
Diffstat (limited to 'dev/c/debugging.html')
-rw-r--r-- | dev/c/debugging.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev/c/debugging.html b/dev/c/debugging.html index d1f425b..4e5931f 100644 --- a/dev/c/debugging.html +++ b/dev/c/debugging.html @@ -15,10 +15,42 @@ (gdb)set args -parameter1 -parameter2 </pre> + <p>To start gdb in TUI mode press;</p> + + <dl> + <dt>Ctrl-x A</dt> + <dd>Enter or leave TUI.</dd> + <dt>Ctrl-x 0</dt> + <dd>TUI with only one window.</dd> + <dt>Ctrl-x 2</dt> + <dd>TUI with more than two windows.</dd> + <dt>Ctrl-x o</dt> + <dd>Change active window.</dd> + <dt>Ctrl-x s</dt> + <dd>TUI single key mode.</dd> + <dt>Ctrl-L s</dt> + <dd>Refresh screen.</dd> + <dt>Up</dt> + <dd>Scroll</dd> + <dt>Down</dt> + <dd>Scroll</dd> + <dt>Left</dt> + <dd>Scroll</dd> + <dt>Right</dt> + <dd>Scroll</dd> + </dl> + + <pre> + (gdb) info win + (gdb) fs next + (gdb) fs SRC + </pre> + <pre> b - backtrace info locals + display print x catch syscall open |