]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - programs/gdb.json
Merge pull request #273 from ArcWandx86/main
[xdg-ninja.git] / programs / gdb.json
1 {
2 "name": "gdb",
3 "files": [
4 {
5 "path": "$HOME/.gdbinit",
6 "movable": true,
7 "help": "XDG is supported out-of-the-box, so you can simply move the file to _$XDG_CONFIG_HOME/gdb/gdbinit_.\n"
8 },
9 {
10 "path": "$HOME/.gdb_history",
11 "movable": true,
12 "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"
13 }
14 ]
15 }