-
Notifications
You must be signed in to change notification settings - Fork 785
Use personal configuration files
Andrea Cardaci edited this page May 16, 2021
·
2 revisions
The following directories are processed at startup (in that order):
-
/etc/gdb-dashboard/
; -
$XDG_CONFIG_HOME/gdb-dashboard/
(defaulting to~/.config/gdb-dashboard/
); -
~/Library/Preferences/gdb-dashboard/
; -
~/.gdbinit.d/
.
All the files in those directories are recursively processes in lexicographic order, this means that you are free to organize them in subdirectories. First all the .py
files are parsed as Python files, then the remaining ones are parsed as GDB configuration files.
At the very least a single file (say, ~/.gdbinit.d/init
) that contains your customizations will probably be enough, for example:
set breakpoint pending on
set confirm off
set disassembly-flavor intel
dashboard registers -style column-major True