dotfiles/gdb/.gdbinit.d/auto
Sanchayan Maity 0b7a19555a gdb: Add gdb configuration based on gdb-dashboard
For the most part adapted from
https://gavinhoward.com/2020/12/my-development-environment-and-how-i-got-there/

Also contains support for opening current line in neovim.

This assumes we are running inside neovim terminal and hence the use of
nvr viz. neovim-remote. We will try adding support for kitty window and
single instances later if possible.
2021-10-05 12:58:49 +05:30

20 lines
465 B
Plaintext

dashboard -enabled on
dashboard -layout breakpoints variables source stack threads
dashboard -style prompt 'gdb>'
dashboard -style max_value_length 0
dashboard variables -style compact True
dashboard variables -style align True
dashboard variables -style sort True
dashboard expressions -style align True
dashboard stack -style sort True
define expand
dashboard -style compact_values False
end
define pack
dashboard -style compact_values True
end
expand