summaryrefslogtreecommitdiff
path: root/gdbinit
diff options
context:
space:
mode:
Diffstat (limited to 'gdbinit')
-rw-r--r--gdbinit16
1 files changed, 15 insertions, 1 deletions
diff --git a/gdbinit b/gdbinit
index 758d532..cb20922 100644
--- a/gdbinit
+++ b/gdbinit
@@ -1,5 +1,19 @@
# dotfiles -- gdbinit
# author: johannst
-set history filename ~/.gdb_history
+set history filename ~/.gdb/gdb_history
set history save on
+
+set prompt bla>
+
+define bs
+ save breakpoints ~/.gdb/breakpoint.$arg0.save
+end
+
+define br
+ source ~/.gdb/breakpoint.$arg0.save
+end
+
+define hook-quit
+ bs q
+end