From: Misomosi Date: Sat, 5 Oct 2024 02:23:22 +0000 (-0400) Subject: Save history in gdbinit X-Git-Url: http://git.misomosispi.com/?a=commitdiff_plain;h=df164cc8af00b2fa4a416a5ce82c645840c642ec;p=dotfiles.git Save history in gdbinit --- diff --git a/.config/git/ignore b/.config/git/ignore index 03227e7..f1b5895 100644 --- a/.config/git/ignore +++ b/.config/git/ignore @@ -1,5 +1,6 @@ -# Breakpoints produced by .gdbinit +# Files produced by .gdbinit and frields .breakpoints +.gdb_history # Scripts I use in git repos to automate certain niceties *.i.sh diff --git a/.gdbinit b/.gdbinit index 74956e0..d0ba99d 100644 --- a/.gdbinit +++ b/.gdbinit @@ -2,6 +2,7 @@ # If I start debugging, I've probably executed build scripts # and/or intend to run the program itself locally anyways. set auto-load safe-path / +set history save on define hook-quit save breakpoints .breakpoints end diff --git a/README.md b/README.md index e9ea56e..c99a350 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ set -g mode-keys vi # If I start debugging, I've probably executed build scripts # and/or intend to run the program itself locally anyways. set auto-load safe-path / +set history save on define hook-quit save breakpoints .breakpoints end @@ -74,8 +75,9 @@ Host github.com ## .gitignore ``` -# Breakpoints produced by .gdbinit +# Files produced by .gdbinit and frields .breakpoints +.gdb_history # Scripts I use in git repos to automate certain niceties *.i.sh