From 3b389a171b19904b26af679092556c10b855a16c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 6 Sep 2021 17:53:19 +0300 Subject: gdb: save command history --- %HOME%/.gdbinit | 4 ++++ 1 file changed, 4 insertions(+) (limited to '%HOME%/.gdbinit') 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 -- cgit v1.2.3