GDB (xrefs)
Functions | Variables
gdb.prompt Namespace Reference

Functions

def _prompt_pwd (ignore)
 
def _prompt_object_attr (func, what, attr, nattr)
 
def _prompt_frame (attr)
 
def _prompt_thread (attr)
 
def _prompt_version (attr)
 
def _prompt_esc (attr)
 
def _prompt_bs (attr)
 
def _prompt_n (attr)
 
def _prompt_r (attr)
 
def _prompt_param (attr)
 
def _prompt_noprint_begin (attr)
 
def _prompt_noprint_end (attr)
 
def prompt_help ()
 
def substitute_prompt (prompt)
 

Variables

 prompt_substitutions
 

Function Documentation

◆ _prompt_bs()

def gdb.prompt._prompt_bs (   attr)
private

Definition at line 58 of file prompt.py.

◆ _prompt_esc()

def gdb.prompt._prompt_esc (   attr)
private

Definition at line 54 of file prompt.py.

◆ _prompt_frame()

def gdb.prompt._prompt_frame (   attr)
private

Definition at line 42 of file prompt.py.

References gdb.prompt._prompt_object_attr().

◆ _prompt_n()

def gdb.prompt._prompt_n (   attr)
private

Definition at line 62 of file prompt.py.

◆ _prompt_noprint_begin()

def gdb.prompt._prompt_noprint_begin (   attr)
private

Definition at line 74 of file prompt.py.

◆ _prompt_noprint_end()

def gdb.prompt._prompt_noprint_end (   attr)
private

Definition at line 78 of file prompt.py.

◆ _prompt_object_attr()

def gdb.prompt._prompt_object_attr (   func,
  what,
  attr,
  nattr 
)
private
Internal worker for fetching GDB attributes.

Definition at line 26 of file prompt.py.

References func.

Referenced by gdb.prompt._prompt_frame(), and gdb.prompt._prompt_thread().

◆ _prompt_param()

def gdb.prompt._prompt_param (   attr)
private

Definition at line 70 of file prompt.py.

◆ _prompt_pwd()

def gdb.prompt._prompt_pwd (   ignore)
private

Definition at line 22 of file prompt.py.

◆ _prompt_r()

def gdb.prompt._prompt_r (   attr)
private

Definition at line 66 of file prompt.py.

◆ _prompt_thread()

def gdb.prompt._prompt_thread (   attr)
private

Definition at line 46 of file prompt.py.

References gdb.prompt._prompt_object_attr().

◆ _prompt_version()

def gdb.prompt._prompt_version (   attr)
private

Definition at line 50 of file prompt.py.

◆ prompt_help()

def gdb.prompt.prompt_help ( )
Generate help dynamically from the __doc__ strings of attribute
functions.

Definition at line 96 of file prompt.py.

◆ substitute_prompt()

def gdb.prompt.substitute_prompt (   prompt)

Definition at line 110 of file prompt.py.

Referenced by gdb.command.prompt._ExtendedPrompt.before_prompt_hook().

Variable Documentation

◆ prompt_substitutions

gdb.prompt.prompt_substitutions

Definition at line 82 of file prompt.py.