about summary refs log tree commit diff stats
path: root/dev/c/debugging.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-03-12 14:34:16 +0000
committerSilvino Silva <silvino@bk.ru>2018-03-12 14:34:16 +0000
commit77fe64b172a6d1847ec80b6fa34ac06816a4030d (patch)
tree7164664bc5220b2deaafd58016fce60765c2ab3d /dev/c/debugging.html
parent7e21c0085fec669979039856ea3754ac9573bbf3 (diff)
downloaddoc-77fe64b172a6d1847ec80b6fa34ac06816a4030d.tar.gz
dev c added initial libraries
Diffstat (limited to 'dev/c/debugging.html')
-rw-r--r--dev/c/debugging.html32
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