Set a new string for the debugger prompt.
set prompt prompt
prompt |
The new prompt. The default debugger prompt is (idb). |
This command sets a new string for the debugger prompt.
If prompt contains spaces or special characters, enclose the parameter in quotes ("").
You also can specify a debugger prompt when you start the debugger from a shell with the -prompt option. For example:
% idb -prompt ">> " >> quit
You can also change the prompt by setting the $prompt debugger variable. For example:
(idb) set $prompt = "newPrompt>> " newPrompt>>
To see the current debugger prompt, use the show prompt command.
(idb) set prompt "(gdb mode) " (gdb mode) show prompt idb's prompt is "(gdb mode) ". (gdb mode)
There is a space at the end of the first line of the example above. If the space is missed, the result will be as follows:
(idb) set prompt "(gdb mode)" (gdb mode)show prompt idb's prompt is "(gdb mode)". (gdb mode)
Copyright © 2001-2011, Intel Corporation. All rights reserved.