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 567 of file python-internal.h.
|
inline |
Definition at line 571 of file python-internal.h.
References error_type().
|
inline |
Definition at line 585 of file python-internal.h.
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 185 of file py-utils.c.
References gdbpy_obj_to_string(), m_error_type, and m_error_value.
Referenced by gdbpy_handle_exception(), py_varobj_iter::next(), and print_stack_unless_memory_error().
|
inline |
Definition at line 606 of file python-internal.h.
Referenced by gdbpy_handle_exception().
gdb::unique_xmalloc_ptr< char > gdbpy_err_fetch::type_to_string | ( | ) | const |
Definition at line 206 of file py-utils.c.
References gdbpy_obj_to_string(), and m_error_type.
|
inline |
Definition at line 613 of file python-internal.h.
Referenced by gdb.command.prompt._ExtendedPrompt::__init__(), gdb-gdb.TypeFlag::__lt__(), gdb.command.prompt._ExtendedPrompt::before_prompt_hook(), and gdb.command.prompt._ExtendedPrompt::get_show_string().
|
private |
Definition at line 620 of file python-internal.h.
|
private |
Definition at line 620 of file python-internal.h.
Referenced by to_string(), and type_to_string().
|
private |
Definition at line 620 of file python-internal.h.
Referenced by to_string().