GDB (xrefs)
|
Public Member Functions | |
__init__ (self, str name, str type, Optional[str] printer=None, Optional[str] comment=None, bool predicate=False, Optional[str] predefault=None, Optional[str] postdefault=None, Union[bool, str] invalid=True, Optional[List[Tuple[str, str]]] params=None, Optional[List[str]] param_checks=None, Optional[List[str]] result_checks=None, bool implement=True) | |
get_predicate (self) | |
Public Attributes | |
name = name | |
str | type = type |
printer = printer | |
comment = comment | |
predicate = predicate | |
predefault = predefault | |
postdefault = postdefault | |
invalid = invalid | |
params = params or [] | |
param_checks = param_checks | |
result_checks = result_checks | |
implement = implement | |
str | predefault = f"gdbarch->{self.name} != {self.predefault}" |
Definition at line 37 of file gdbarch_types.py.
gdbarch_types.Component.__init__ | ( | self, | |
str | name, | ||
str | type, | ||
Optional[str] | printer = None, | ||
Optional[str] | comment = None, | ||
bool | predicate = False, | ||
Optional[str] | predefault = None, | ||
Optional[str] | postdefault = None, | ||
Union[bool, str] | invalid = True, | ||
Optional[List[Tuple[str, str]]] | params = None, | ||
Optional[List[str]] | param_checks = None, | ||
Optional[List[str]] | result_checks = None, | ||
bool | implement = True ) |
Reimplemented in gdbarch_types.Function, and gdbarch_types.Value.
Definition at line 40 of file gdbarch_types.py.
gdbarch_types.Component.get_predicate | ( | self | ) |
Definition at line 75 of file gdbarch_types.py.
gdbarch_types.Component.comment = comment |
Definition at line 58 of file gdbarch_types.py.
gdbarch_types.Component.implement = implement |
Definition at line 66 of file gdbarch_types.py.
gdbarch_types.Component.invalid = invalid |
Definition at line 62 of file gdbarch_types.py.
gdbarch_types.Component.name = name |
Definition at line 55 of file gdbarch_types.py.
Referenced by gdb.printing.FlagEnumerationPrinter.__call__(), gdb.dap.varref.BaseReference.__init__(), gdb.disassembler.Disassembler.__init__(), gdb.printing.PrettyPrinter.__init__(), gdb.printing.SubPrettyPrinter.__init__(), gdb.types.TypePrinter.__init__(), gdb.xmethod.XMethod.__init__(), gdb.xmethod.XMethodMatcher.__init__(), and gdb.dap.varref.BaseReference.to_object().
gdbarch_types.Component.param_checks = param_checks |
Definition at line 64 of file gdbarch_types.py.
gdbarch_types.Component.params = params or [] |
Definition at line 63 of file gdbarch_types.py.
Referenced by gdbarch_types.Function.actuals(), gdbarch_types.Method.actuals(), and gdbarch_types.Function.set_list().
gdbarch_types.Component.postdefault = postdefault |
Definition at line 61 of file gdbarch_types.py.
gdbarch_types.Component.predefault = predefault |
Definition at line 60 of file gdbarch_types.py.
str gdbarch_types.Component.predefault = f"gdbarch->{self.name} != {self.predefault}" |
Definition at line 77 of file gdbarch_types.py.
gdbarch_types.Component.predicate = predicate |
Definition at line 59 of file gdbarch_types.py.
gdbarch_types.Component.printer = printer |
Definition at line 57 of file gdbarch_types.py.
Referenced by gdb.dap.varref.VariableReference._update_value(), gdb.dap.varref.VariableReference.cache_children(), gdb.dap.varref.VariableReference.child_count(), gdb.dap.varref.VariableReference.fetch_one_child(), gdb.dap.varref.VariableReference.has_children(), and gdb.dap.varref.VariableReference.to_object().
gdbarch_types.Component.result_checks = result_checks |
Definition at line 65 of file gdbarch_types.py.
str gdbarch_types.Component.type = type |
Definition at line 56 of file gdbarch_types.py.