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"
#include "solib.h"
#include "block.h"
Go to the source code of this file.
Classes | |
struct | pspace_object |
struct | pspace_deleter |
Macros | |
#define | PSPY_REQUIRE_VALID(pspace_obj) |
Variables | |
static const registry< program_space >::key< pspace_object, pspace_deleter > | pspy_pspace_data_key |
static gdb_PyGetSetDef | pspace_getset [] |
static PyMethodDef | progspace_object_methods [] |
PyTypeObject | pspace_object_type |
#define PSPY_REQUIRE_VALID | ( | pspace_obj | ) |
Definition at line 86 of file py-progspace.c.
PyTypeObject pspace_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "pspace_object" | ) |
int gdbpy_initialize_pspace | ( | void | ) |
Definition at line 533 of file py-progspace.c.
References gdb_module, gdb_pymodule_addobject(), and pspace_object_type.
bool gdbpy_is_progspace | ( | PyObject * | obj | ) |
Definition at line 527 of file py-progspace.c.
References pspace_object_type.
Referenced by progspace_object_to_program_space().
struct program_space * progspace_object_to_program_space | ( | PyObject * | obj | ) |
Definition at line 518 of file py-progspace.c.
References gdbpy_is_progspace().
gdbpy_ref pspace_to_pspace_object | ( | struct program_space * | pspace | ) |
Definition at line 495 of file py-progspace.c.
References get(), registry< T >::get(), symtab_and_line::pspace, pspace_object_type, pspy_initialize(), pspy_pspace_data_key, and registry< T >::set().
Referenced by create_clear_objfiles_event_object(), disasmpy_info_progspace(), find_pretty_printer_from_progspace(), gdbpy_get_matching_xmethod_workers(), infpy_get_progspace(), and objfpy_get_progspace().
Definition at line 398 of file py-progspace.c.
References block_for_pc(), block_to_block_object(), find_pc_compunit_symtab(), GDB_PY_HANDLE_EXCEPTION, get_addr_from_python(), compunit_symtab::objfile(), pspace_object::pspace, PSPY_REQUIRE_VALID, and set_current_program_space().
|
static |
Definition at line 115 of file py-progspace.c.
References pspace_object::dict, pspace_object::frame_filters, pspace_object::frame_unwinders, pspace_object::printers, pspace_object::type_printers, and pspace_object::xmethods.
Definition at line 441 of file py-progspace.c.
References find_pc_line(), GDB_PY_HANDLE_EXCEPTION, get_addr_from_python(), symtab_and_line::pc, pspace_object::pspace, PSPY_REQUIRE_VALID, set_current_program_space(), and symtab_and_line_to_sal_object().
Definition at line 99 of file py-progspace.c.
References host_string_to_python_string(), objfile_name(), pspace_object::pspace, and program_space::symfile_object_file.
Definition at line 216 of file py-progspace.c.
References pspace_object::frame_filters.
Definition at line 255 of file py-progspace.c.
References pspace_object::frame_unwinders.
Definition at line 346 of file py-progspace.c.
References objfile_to_objfile_object(), program_space::objfiles(), pspace_object::pspace, and PSPY_REQUIRE_VALID.
Definition at line 178 of file py-progspace.c.
References pspace_object::printers.
Referenced by find_pretty_printer_from_progspace().
Definition at line 295 of file py-progspace.c.
References pspace_object::type_printers.
Definition at line 306 of file py-progspace.c.
References pspace_object::xmethods.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 132 of file py-progspace.c.
References pspace_object::dict, pspace_object::frame_filters, pspace_object::frame_unwinders, pspace_object::printers, pspace_object::pspace, pspace_object::type_printers, and pspace_object::xmethods.
Referenced by pspace_to_pspace_object(), and pspy_new().
Definition at line 477 of file py-progspace.c.
References pspace_object::pspace.
Definition at line 164 of file py-progspace.c.
References pspy_initialize().
Definition at line 226 of file py-progspace.c.
References pspace_object::frame_filters.
Definition at line 266 of file py-progspace.c.
References pspace_object::frame_unwinders.
Definition at line 187 of file py-progspace.c.
References pspace_object::printers.
Definition at line 317 of file py-progspace.c.
References pspace_object::type_printers.
Definition at line 375 of file py-progspace.c.
References get_addr_from_python(), host_string_to_python_string(), pspace_object::pspace, PSPY_REQUIRE_VALID, and solib_name_from_address().
|
static |
Definition at line 563 of file py-progspace.c.
|
static |
Definition at line 544 of file py-progspace.c.
PyTypeObject pspace_object_type |
Definition at line 581 of file py-progspace.c.
Referenced by gdbpy_initialize_pspace(), gdbpy_is_progspace(), and pspace_to_pspace_object().
|
static |
Definition at line 83 of file py-progspace.c.
Referenced by pspace_to_pspace_object().