dotfiles/gdb/.gdbinit.d/hooks
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

67 lines
711 B
Text

define hookpost-up
dashboard
end
define hookpost-down
dashboard
end
define hookpost-frame
dashboard
end
define hookpost-finish
dashboard
end
define hookpost-return
dashboard
end
define hook-quit
set confirm off
end
define hookpost-enable
dashboard
end
define hookpost-disable
dashboard
end
define hookpost-break
dashboard
end
define hookpost-tbreak
dashboard
end
define hookpost-delete
dashboard
end
define hookpost-watch
dashboard
end
define hookpost-rwatch
dashboard
end
define hookpost-awatch
dashboard
end
define hookpost-condition
dashboard
end
define hookpost-core-file
dashboard
end
define hookpost-thread
dashboard
end