X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fgdbinit;h=5ce2868a4618b73b7d2735fa023d4a67102ccb45;hb=7e4575b320cbc1840cf6fd36bbf6b9cfda9a5ee4;hp=b179e637e49ee439948076d232312cfc353a0cdb;hpb=27aad264ebcae48c5be90342617a246103dc83e5;p=config%2Fdotfiles.git diff --git a/gdb/gdbinit b/gdb/gdbinit index b179e63..5ce2868 100644 --- a/gdb/gdbinit +++ b/gdb/gdbinit @@ -22,6 +22,11 @@ set history save on set history size 10000 +# Set prompt. Bold green "gdb" in parentheses. Trailing whitespace is +# necessary. +set extended-prompt (\[\e[01;32m\]gdb\e[00m\]) + + # Always disassemble next command/instruction. Very useful when debugging code # without debug information. set disassemble-next-line on