manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

19.1 Prompt

No value for GDBN indicates its readiness to read a command by printing a string called the prompt. This string is normally ‘(No value for GDBP)’. You can change the prompt string with the set prompt command. For instance, when debugging No value for GDBN with No value for GDBN, it is useful to change the prompt in one of the No value for GDBN sessions so that you can always tell which one you are talking to.

Note: set prompt does not add a space for you after the prompt you set. This allows you to set a prompt which ends in a space or a prompt that does not.

set prompt newprompt

Directs No value for GDBN to use newprompt as its prompt string henceforth.

show prompt

Prints a line of the form: ‘Gdb's prompt is: your-prompt


© manpagez.com 2000-2017
Individual documents may contain additional copyright information.