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

dictionary prompt_substitutions
 

Function Documentation

def gdb.prompt._prompt_bs (   attr)
private

Definition at line 58 of file prompt.py.

def gdb.prompt._prompt_esc (   attr)
private

Definition at line 54 of file prompt.py.

def gdb.prompt._prompt_frame (   attr)
private

Definition at line 42 of file prompt.py.

References gdb.prompt._prompt_object_attr().

def gdb.prompt._prompt_n (   attr)
private

Definition at line 62 of file prompt.py.

def gdb.prompt._prompt_noprint_begin (   attr)
private

Definition at line 74 of file prompt.py.

def gdb.prompt._prompt_noprint_end (   attr)
private

Definition at line 78 of file prompt.py.

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().

def gdb.prompt._prompt_param (   attr)
private

Definition at line 70 of file prompt.py.

def gdb.prompt._prompt_pwd (   ignore)
private

Definition at line 22 of file prompt.py.

def gdb.prompt._prompt_r (   attr)
private

Definition at line 66 of file prompt.py.

def gdb.prompt._prompt_thread (   attr)
private

Definition at line 46 of file prompt.py.

References gdb.prompt._prompt_object_attr().

def gdb.prompt._prompt_version (   attr)
private

Definition at line 50 of file prompt.py.

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

Definition at line 96 of file prompt.py.

def gdb.prompt.substitute_prompt (   prompt)

Definition at line 110 of file prompt.py.

References len.

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

Variable Documentation

dictionary gdb.prompt.prompt_substitutions
Initial value:
1 = {
2  'e': _prompt_esc,
3  '\\': _prompt_bs,
4  'n': _prompt_n,
5  'r': _prompt_r,
6  'v': _prompt_version,
7  'w': _prompt_pwd,
8  'f': _prompt_frame,
9  't': _prompt_thread,
10  'p': _prompt_param,
11  '[': _prompt_noprint_begin,
12  ']': _prompt_noprint_end
13 }

Definition at line 82 of file prompt.py.