GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
gdb.prompt Namespace Reference

Functions

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

Variables

dict prompt_substitutions
 

Detailed Description

 Extended prompt library functions.

Function Documentation

◆ _prompt_bs()

gdb.prompt._prompt_bs ( attr)
protected

Definition at line 65 of file prompt.py.

◆ _prompt_esc()

gdb.prompt._prompt_esc ( attr)
protected

Definition at line 60 of file prompt.py.

◆ _prompt_frame()

gdb.prompt._prompt_frame ( attr)
protected

Definition at line 45 of file prompt.py.

References gdb.prompt._prompt_object_attr().

◆ _prompt_n()

gdb.prompt._prompt_n ( attr)
protected

Definition at line 70 of file prompt.py.

◆ _prompt_noprint_begin()

gdb.prompt._prompt_noprint_begin ( attr)
protected

Definition at line 85 of file prompt.py.

◆ _prompt_noprint_end()

gdb.prompt._prompt_noprint_end ( attr)
protected

Definition at line 90 of file prompt.py.

◆ _prompt_object_attr()

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

Definition at line 28 of file prompt.py.

References func.

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

◆ _prompt_param()

gdb.prompt._prompt_param ( attr)
protected

Definition at line 80 of file prompt.py.

◆ _prompt_pwd()

gdb.prompt._prompt_pwd ( ignore)
protected

Definition at line 23 of file prompt.py.

◆ _prompt_r()

gdb.prompt._prompt_r ( attr)
protected

Definition at line 75 of file prompt.py.

◆ _prompt_thread()

gdb.prompt._prompt_thread ( attr)
protected

Definition at line 50 of file prompt.py.

References gdb.prompt._prompt_object_attr().

◆ _prompt_version()

gdb.prompt._prompt_version ( attr)
protected

Definition at line 55 of file prompt.py.

◆ prompt_help()

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

Definition at line 110 of file prompt.py.

◆ substitute_prompt()

gdb.prompt.substitute_prompt ( prompt)

Definition at line 125 of file prompt.py.

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

Variable Documentation

◆ prompt_substitutions

dict 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 95 of file prompt.py.