From 32ca45cdb13fbb214c785676ad34fd0d3dafcd67 Mon Sep 17 00:00:00 2001 From: CloverGit Date: Sat, 4 Jan 2025 15:53:37 +0800 Subject: [PATCH] fix: Update gdb.json It is not recommended to use dotfiles in $XDG_CONFIG_HOME. --- programs/gdb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/gdb.json b/programs/gdb.json index d9121d27..6edabfa0 100644 --- a/programs/gdb.json +++ b/programs/gdb.json @@ -9,7 +9,7 @@ { "path": "$HOME/.gdb_history", "movable": true, - "help": "GDB supports setting it's config file path through an environment variable. Simply move your _.gdb_history_ file to _$XDG_CONFIG_HOME/gdb_ and export the following:\n\n```bash\nexport GDBHISTFILE=\"$XDG_CONFIG_HOME\"/gdb/.gdb_history \n```\n\nNote: If you are using GEF this does not work, as GEF overwrites the filepath. In order to use the correct path again, you have to call ```set history filename ~/.config/gdb/.gdb_history``` after you source _gef.py_ in your gdb init file.\n" + "help": "GDB supports setting it's config file path through an environment variable. Simply move your _.gdb_history_ file to _$XDG_CONFIG_HOME/gdb_ and export the following:\n\n```bash\nexport GDBHISTFILE=\"$XDG_CONFIG_HOME\"/gdb/gdb_history \n```\n\nNote: If you are using GEF this does not work, as GEF overwrites the filepath. In order to use the correct path again, you have to call ```set history filename ~/.config/gdb/gdb_history``` after you source _gef.py_ in your gdb init file.\n" } ] }