aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-09-06 17:53:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-09-06 17:53:19 +0300
commit3b389a171b19904b26af679092556c10b855a16c (patch)
tree4a4fd1de38dc764bb22c3987a89980b32c92ae1d
parentgdb: Intel syntax (diff)
downloadlinux-home-3b389a171b19904b26af679092556c10b855a16c.tar.gz
linux-home-3b389a171b19904b26af679092556c10b855a16c.zip
gdb: save command history
-rw-r--r--%HOME%/.gdbinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/%HOME%/.gdbinit b/%HOME%/.gdbinit
index 7b268cf..ac2e7b1 100644
--- a/%HOME%/.gdbinit
+++ b/%HOME%/.gdbinit
@@ -3,3 +3,7 @@ set pagination off
# Sorry :-(
set disassembly-flavor intel
+
+set history save on
+set history filename ~/.gdb-history
+set history size 1000