]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
gdbinit: Add, GDB configuration file.
authorSimon Ruderich <simon@ruderich.org>
Sat, 2 Jul 2011 15:07:49 +0000 (17:07 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 2 Jul 2011 15:07:49 +0000 (17:07 +0200)
gdbinit [new file with mode: 0644]
setup.sh

diff --git a/gdbinit b/gdbinit
new file mode 100644 (file)
index 0000000..708a255
--- /dev/null
+++ b/gdbinit
@@ -0,0 +1,9 @@
+# GDB (GNU debugger) configuration file.
+
+
+# Save command history.
+set history save on
+# And save 1024 entries.
+set history size 1024
+
+# vim: ft=gdb
index 9447806cd217b32e932ae473682367fb15ed1485..de8761cc0b8c88824333b4724ebe4ab53302a609 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -5,5 +5,8 @@
 
 . ../lib.sh
 
+# gdb, gnu debugger.
+link gdbinit ~/.gdbinit
+
 # Maxima, a symbolic algebra program.
 link maxima ~/.maxima