GDB (xrefs)
|
#include "defs.h"
#include "python-internal.h"
#include "charset.h"
#include "progspace.h"
#include "objfiles.h"
#include "language.h"
#include "arch-utils.h"
Go to the source code of this file.
Classes | |
struct | pspace_object |
Functions | |
PyTypeObject pspace_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("pspace_object") |
static PyObject * | pspy_get_filename (PyObject *self, void *closure) |
static void | pspy_dealloc (PyObject *self) |
static int | pspy_initialize (pspace_object *self) |
static PyObject * | pspy_new (PyTypeObject *type, PyObject *args, PyObject *keywords) |
PyObject * | pspy_get_printers (PyObject *o, void *ignore) |
static int | pspy_set_printers (PyObject *o, PyObject *value, void *ignore) |
PyObject * | pspy_get_frame_filters (PyObject *o, void *ignore) |
static int | pspy_set_frame_filters (PyObject *o, PyObject *frame, void *ignore) |
PyObject * | pspy_get_frame_unwinders (PyObject *o, void *ignore) |
static int | pspy_set_frame_unwinders (PyObject *o, PyObject *unwinders, void *ignore) |
static PyObject * | pspy_get_type_printers (PyObject *o, void *ignore) |
PyObject * | pspy_get_xmethods (PyObject *o, void *ignore) |
static int | pspy_set_type_printers (PyObject *o, PyObject *value, void *ignore) |
static void | py_free_pspace (struct program_space *pspace, void *datum) |
PyObject * | pspace_to_pspace_object (struct program_space *pspace) |
int | gdbpy_initialize_pspace (void) |
Variables | |
static const struct program_space_data * | pspy_pspace_data_key |
static PyGetSetDef | pspace_getset [] |
PyTypeObject | pspace_object_type |
PyTypeObject pspace_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "pspace_object" | ) |
int gdbpy_initialize_pspace | ( | void | ) |
Definition at line 375 of file py-progspace.c.
References gdb_module, gdb_pymodule_addobject(), pspace_object_type, pspy_pspace_data_key, and py_free_pspace().
Referenced by _initialize_python().
PyObject* pspace_to_pspace_object | ( | struct program_space * | pspace | ) |
Definition at line 350 of file py-progspace.c.
References pspace_object_type, pspy_initialize(), pspy_pspace_data_key, and Py_DECREF.
Referenced by create_clear_objfiles_event_object(), find_pretty_printer_from_progspace(), gdbpy_get_current_progspace(), gdbpy_get_matching_xmethod_workers(), gdbpy_progspaces(), and objfpy_get_progspace().
|
static |
Definition at line 82 of file py-progspace.c.
References pspace_object::dict, pspace_object::frame_filters, pspace_object::frame_unwinders, pspace_object::printers, Py_TYPE, pspace_object::type_printers, and pspace_object::xmethods.
|
static |
Definition at line 65 of file py-progspace.c.
References host_charset(), objfile_name(), pspace_object::pspace, and program_space::symfile_object_file.
PyObject* pspy_get_frame_filters | ( | PyObject * | o, |
void * | ignore | ||
) |
Definition at line 185 of file py-progspace.c.
PyObject* pspy_get_frame_unwinders | ( | PyObject * | o, |
void * | ignore | ||
) |
Definition at line 226 of file py-progspace.c.
PyObject* pspy_get_printers | ( | PyObject * | o, |
void * | ignore | ||
) |
Definition at line 145 of file py-progspace.c.
Referenced by find_pretty_printer_from_progspace().
|
static |
Definition at line 268 of file py-progspace.c.
PyObject* pspy_get_xmethods | ( | PyObject * | o, |
void * | ignore | ||
) |
Definition at line 279 of file py-progspace.c.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 99 of file py-progspace.c.
Referenced by pspace_to_pspace_object(), and pspy_new().
|
static |
Definition at line 128 of file py-progspace.c.
References pspy_initialize(), and Py_DECREF.
|
static |
Definition at line 195 of file py-progspace.c.
|
static |
Definition at line 237 of file py-progspace.c.
|
static |
Definition at line 154 of file py-progspace.c.
|
static |
Definition at line 290 of file py-progspace.c.
|
static |
Definition at line 323 of file py-progspace.c.
References current_language, do_cleanups(), ensure_python_env(), Py_DECREF, and target_gdbarch().
Referenced by gdbpy_initialize_pspace().
|
static |
Definition at line 389 of file py-progspace.c.
PyTypeObject pspace_object_type |
Definition at line 408 of file py-progspace.c.
Referenced by gdbpy_initialize_pspace(), and pspace_to_pspace_object().
|
static |
Definition at line 58 of file py-progspace.c.
Referenced by gdbpy_initialize_pspace(), and pspace_to_pspace_object().