17 """GDB command for working with extended prompts.""" 24 """Set the extended prompt. 26 Usage: set extended-prompt VALUE 28 Substitutions are applied to VALUE to compute the real prompt. 30 The currently defined substitutions are: 37 set_doc =
"Set the extended prompt." 38 show_doc =
"Show the extended prompt." 41 super(_ExtendedPrompt, self).
__init__(
"extended-prompt",
43 gdb.PARAM_STRING_NOESCAPE)
48 if self.
value is not '':
49 return "The extended prompt is: " + self.
value 51 return "The extended prompt is not set." 60 if self.
value is not '':
def get_show_string(self, pvalue)
def before_prompt_hook(self, current)
def substitute_prompt(prompt)