by cassepipe · 2y ago · 0 comments
I just put :
layout src
set confirm off
in my $XDG_CONFIG_HOME/gdb/gdbinit set prompt \001\033[01;36m\002(gdb)\001\033[0m\002
and I save history with set history save on
set history size 500000
set history filename ~/.cache/gdb/historyYou can also make the dashboard display on another or across multiple terminals, letting you create a much nicer window layout. I've scripted this up with tmux before to have it automatically create the terminal layout and connect them to gdb, you can create really nice layouts that way (though it can be a lot of effort).