GDB (xrefs)
|
#include "python-internal.h"
Public Member Functions | |
gdbpy_enter (struct gdbarch *gdbarch=nullptr, const struct language_defn *language=nullptr) | |
~gdbpy_enter () | |
DISABLE_COPY_AND_ASSIGN (gdbpy_enter) | |
Static Public Member Functions | |
static struct gdbarch * | get_gdbarch () |
static void | finalize () |
Private Attributes | |
struct active_ext_lang_state * | m_previous_active |
PyGILState_STATE | m_state |
struct gdbarch * | m_gdbarch |
const struct language_defn * | m_language |
gdb::optional< gdbpy_err_fetch > | m_error |
Static Private Attributes | |
static struct gdbarch * | python_gdbarch |
Definition at line 676 of file python-internal.h.
|
explicit |
Definition at line 205 of file python.c.
References extension_language_python, gdb_python_initialized, m_error, m_previous_active, m_state, PyGILState_Ensure, python_gdbarch, set_active_ext_lang(), and set_language().
gdbpy_enter::~gdbpy_enter | ( | ) |
Definition at line 226 of file python.c.
References gdbpy_print_stack(), language_defn::la_language, m_error, m_gdbarch, m_language, m_previous_active, m_state, PyGILState_Release, python_gdbarch, restore_active_ext_lang(), and set_language().
gdbpy_enter::DISABLE_COPY_AND_ASSIGN | ( | gdbpy_enter | ) |
|
static |
Definition at line 255 of file python.c.
References python_gdbarch, and target_gdbarch().
Referenced by finalize_python().
|
static |
Definition at line 247 of file python.c.
References get_current_arch(), and python_gdbarch.
Referenced by bpfinishpy_init(), bppy_init(), convert_value_from_python(), gdbpy_convenience_variable(), gdbpy_target_charset(), gdbpy_target_wide_charset(), mbpy_str(), unicode_to_target_python_string(), and unicode_to_target_string().
|
private |
Definition at line 717 of file python-internal.h.
Referenced by gdbpy_enter(), and ~gdbpy_enter().
|
private |
Definition at line 712 of file python-internal.h.
Referenced by ~gdbpy_enter().
|
private |
Definition at line 713 of file python-internal.h.
Referenced by ~gdbpy_enter().
|
private |
Definition at line 710 of file python-internal.h.
Referenced by gdbpy_enter(), and ~gdbpy_enter().
|
private |
Definition at line 711 of file python-internal.h.
Referenced by gdbpy_enter(), and ~gdbpy_enter().
|
staticprivate |
Definition at line 708 of file python-internal.h.
Referenced by finalize(), gdbpy_enter(), get_gdbarch(), and ~gdbpy_enter().