Color GDB Prompt

Page Trail: [[ Color GDB Prompt ]]
2013-04-07 14:50

To add color to your GDB prompt, place the following in your ~/.gdbinit file:

# keep trailing space on next line
set prompt \033[0;33m(gdb)\033[0m 

This makes it easier to find your place visually.