GDB (xrefs)
|
#include "python-internal.h"
Public Member Functions | |
gdbpy_err_fetch () | |
void | restore () |
gdb::unique_xmalloc_ptr< char > | to_string () const |
gdb::unique_xmalloc_ptr< char > | type_to_string () const |
bool | type_matches (PyObject *type) const |
gdbpy_ref | value () |
Private Attributes | |
gdbpy_ref | m_error_type |
gdbpy_ref | m_error_value |
gdbpy_ref | m_error_traceback |
Definition at line 615 of file python-internal.h.
|
inline |
Definition at line 619 of file python-internal.h.
References error_type(), m_error_traceback, m_error_type, and m_error_value.
|
inline |
Definition at line 633 of file python-internal.h.
References m_error_traceback, m_error_type, and m_error_value.
Referenced by convert_value_from_python(), gdbpy_handle_exception(), and gdbpy_disassembler::restore_exception().
gdb::unique_xmalloc_ptr< char > gdbpy_err_fetch::to_string | ( | ) | const |
Definition at line 186 of file py-utils.c.
References gdbpy_obj_to_string(), m_error_type, and m_error_value.
Referenced by gdbpy_handle_exception(), gdbpy_print_insn(), py_varobj_iter::next(), and print_stack_unless_memory_error().
|
inline |
Definition at line 654 of file python-internal.h.
References m_error_type.
Referenced by gdbpy_handle_exception().
gdb::unique_xmalloc_ptr< char > gdbpy_err_fetch::type_to_string | ( | ) | const |
Definition at line 207 of file py-utils.c.
References gdbpy_obj_to_string(), and m_error_type.
|
inline |
Definition at line 661 of file python-internal.h.
References m_error_value.
Referenced by gdb.command.prompt._ExtendedPrompt::__init__(), gdb.dap.startup.LoggingParam::__init__(), gdb.dap.varref.VariableReference::__init__(), gdb-gdb.TypeFlag::__lt__(), gdb.dap.varref.VariableReference::_update_value(), gdb.dap.varref.VariableReference::assign(), gdb.command.prompt._ExtendedPrompt::before_prompt_hook(), gdb.dap.startup.LoggingParam::get_set_string(), gdb.command.prompt._ExtendedPrompt::get_show_string(), and gdb.dap.varref.VariableReference::to_object().
|
private |
Definition at line 668 of file python-internal.h.
Referenced by gdbpy_err_fetch(), and restore().
|
private |
Definition at line 668 of file python-internal.h.
Referenced by gdbpy_err_fetch(), restore(), to_string(), type_matches(), and type_to_string().
|
private |
Definition at line 668 of file python-internal.h.
Referenced by gdbpy_err_fetch(), restore(), to_string(), and value().