]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gdbinit: Enable disassemble-next-line.
authorSimon Ruderich <simon@ruderich.org>
Fri, 23 Nov 2012 20:04:45 +0000 (21:04 +0100)
committerSimon Ruderich <simon@ruderich.org>
Fri, 23 Nov 2012 20:04:45 +0000 (21:04 +0100)
gdbinit

diff --git a/gdbinit b/gdbinit
index 4fdd8e63d826206f13d228d30b9cdb59e8703d25..b179e637e49ee439948076d232312cfc353a0cdb 100644 (file)
--- a/gdbinit
+++ b/gdbinit
@@ -21,4 +21,9 @@ set history save on
 # And save more entries.
 set history size 10000
 
+
+# Always disassemble next command/instruction. Very useful when debugging code
+# without debug information.
+set disassemble-next-line on
+
 # vim: ft=gdb