From 7e4575b320cbc1840cf6fd36bbf6b9cfda9a5ee4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 7 May 2013 21:31:43 +0200 Subject: [PATCH] gdb/gdbinit: Add colored prompt. --- gdb/gdbinit | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.1