X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=gdb%2Fgdbinit;h=59b79c0784715899926b7115998ac899875d51b2;hb=49506632f4ab98a5d379f1c99841fc1923387241;hp=b179e637e49ee439948076d232312cfc353a0cdb;hpb=b91f6c4b10d2d1b1f088160d476fe590f074ed8d;p=config%2Fdotfiles.git diff --git a/gdb/gdbinit b/gdb/gdbinit index b179e63..59b79c0 100644 --- a/gdb/gdbinit +++ b/gdb/gdbinit @@ -22,6 +22,14 @@ 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\]) + + +# Default output base is 16 (hex). +set output-radix 16 + # Always disassemble next command/instruction. Very useful when debugging code # without debug information. set disassemble-next-line on