GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
gdb.command.prompt._ExtendedPrompt Class Reference
Inheritance diagram for gdb.command.prompt._ExtendedPrompt:

Public Member Functions

 __init__ (self)
 
 get_show_string (self, pvalue)
 
 get_set_string (self)
 
 before_prompt_hook (self, current)
 
 __init__ (self)
 
 get_show_string (self, pvalue)
 
 get_set_string (self)
 
 before_prompt_hook (self, current)
 

Public Attributes

 value
 
 hook_set
 

Static Public Attributes

str set_doc = "Set the extended prompt."
 
str show_doc = "Show the extended prompt."
 

Static Private Attributes

str __doc__ = __doc__ + "\n" + gdb.prompt.prompt_help()
 

Detailed Description

Set the extended prompt.

Usage: set extended-prompt VALUE

Substitutions are applied to VALUE to compute the real prompt.

The currently defined substitutions are:

Definition at line 23 of file prompt.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

gdb.command.prompt._ExtendedPrompt.__init__ (   self)

◆ __init__() [2/2]

gdb.command.prompt._ExtendedPrompt.__init__ (   self)

Member Function Documentation

◆ before_prompt_hook() [1/2]

gdb.command.prompt._ExtendedPrompt.before_prompt_hook (   self,
  current 
)

◆ before_prompt_hook() [2/2]

gdb.command.prompt._ExtendedPrompt.before_prompt_hook (   self,
  current 
)

◆ get_set_string() [1/2]

gdb.command.prompt._ExtendedPrompt.get_set_string (   self)

◆ get_set_string() [2/2]

gdb.command.prompt._ExtendedPrompt.get_set_string (   self)

◆ get_show_string() [1/2]

gdb.command.prompt._ExtendedPrompt.get_show_string (   self,
  pvalue 
)

◆ get_show_string() [2/2]

gdb.command.prompt._ExtendedPrompt.get_show_string (   self,
  pvalue 
)

Member Data Documentation

◆ __doc__

str gdb.command.prompt._ExtendedPrompt.__doc__ = __doc__ + "\n" + gdb.prompt.prompt_help()
staticprivate

Definition at line 35 of file prompt.py.

◆ hook_set

gdb.command.prompt._ExtendedPrompt.hook_set

◆ set_doc

str gdb.command.prompt._ExtendedPrompt.set_doc = "Set the extended prompt."
static

Definition at line 37 of file prompt.py.

◆ show_doc

str gdb.command.prompt._ExtendedPrompt.show_doc = "Show the extended prompt."
static

Definition at line 38 of file prompt.py.

◆ value

gdb.command.prompt._ExtendedPrompt.value

The documentation for this class was generated from the following files: