summaryrefslogtreecommitdiff
path: root/development/debugging.mdwn
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-11-29 01:34:50 +0100
committerGuido Günther <agx@sigxcpu.org>2010-11-29 01:34:50 +0100
commit1ce01f7f112b7749903464f690b04f6ea512b298 (patch)
tree5b89317687b1a0c4954822384b6ecdb63fb16703 /development/debugging.mdwn
parent623f06090a7b62eeac6fd5173443fc9a885bec78 (diff)
Add directory command
Diffstat (limited to 'development/debugging.mdwn')
-rw-r--r--development/debugging.mdwn4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/debugging.mdwn b/development/debugging.mdwn
index 1b7f531..996940b 100644
--- a/development/debugging.mdwn
+++ b/development/debugging.mdwn
@@ -38,6 +38,7 @@ Step to the next statement following function calls:
Other useful commands:
finish: run until the function exits and print it's return value
+ directory: specify source code location
## Backtrace
The current stacktrace can be inspected using *bt*. *bt full* additionally
@@ -76,7 +77,8 @@ To abort on the first encountered glib/GTK+ warning use:
## Packages
-Debugging things in a vm is useful, this needs the following packages in the guest:
+Debugging things in a vm is useful if you don't want to hose your production
+system. This needs the following packages in the guest:
aptitude install vim-nox gdb gdb-doc build-essential exuberant-ctags libc6-dbg git git-buildpackage ccache strace valgrind