]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - gdbinit
Merge lftp configuration repository.
[config/dotfiles.git] / gdbinit
diff --git a/gdbinit b/gdbinit
index 708a255b1ec39482b0e32d0095ef07c838dad452..b179e637e49ee439948076d232312cfc353a0cdb 100644 (file)
--- a/gdbinit
+++ b/gdbinit
@@ -1,9 +1,29 @@
 # GDB (GNU debugger) configuration file.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 # Save command history.
 set history save on
-# And save 1024 entries.
-set history size 1024
+# 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