Skip to content

Commit

Permalink
Added support for GDBHISTFILE env variable (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
ask1234560 committed Nov 8, 2022
1 parent 65eece7 commit b52b758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Expand Up @@ -10850,7 +10850,7 @@ def reset_caches(self) -> None:
"set pagination off",
"set print elements 0",
"set history save on",
"set history filename ~/.gdb_history",
f"set history filename {os.getenv('GDBHISTFILE', '~/.gdb_history')}",
"set output-radix 0x10",
"set print pretty on",
"set disassembly-flavor intel",
Expand Down

0 comments on commit b52b758

Please sign in to comment.