X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/e5644da128c08887df18c6ba7aa110dcefa5faad..854929e5413e8d2cf84e90c5cc3ccb0188ab5d22:/programs/gdb.json?ds=sidebyside diff --git a/programs/gdb.json b/programs/gdb.json index d9121d2..6edabfa 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" } ] }