From 66417a1b72d931e85dd70546407d09dd8dc8198c Mon Sep 17 00:00:00 2001 From: travis-update-bot Date: Wed, 30 Dec 2015 01:23:26 +0000 Subject: [PATCH] Update blog to b11ed7bd46e384c7a9e0f371d293e1896efb2595 --- set-up-gdb.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/set-up-gdb.md b/set-up-gdb.md index c97b91b6..1213dbea 100644 --- a/set-up-gdb.md +++ b/set-up-gdb.md @@ -64,7 +64,11 @@ After connecting to QEMU, you can use various gdb commands to control execution - `step` or `s`: Step into the current line, i.e. jump to the called function. Sometimes this doesn't work in Rust OSes. - `list` or `l`: Shows the source code around the current position. - `print` or `p`: Prints the value of a variable. You can use Cs `*` and `&` operators. To print in hexadecimal, use `p/x`. +- `tui enable`: Enables the text user interface, which provides a graphical interface (see below). To disable it again, run `tui disable`. -Of course there are many more commands. Feel free to send a PR if you think this list is missing something important. The [website for Harvard's CS161 course][CS161] has a more complete GDB overview. +![gdb text user interface](images/gdb-tui-screenshot.png) +Of course there are many more commands. Feel free to send a PR if you think this list is missing something important. For a more complete GDB overview, check out [Beej's Quick Guide][bggdb] or the [website for Harvard's CS161 course][CS161]. + +[bggdb]: http://beej.us/guide/bggdb/ [CS161]: http://www.eecs.harvard.edu/~margo/cs161/resources/gdb.html