GDB (xrefs)
|
#include "defs.h"
#include "python-internal.h"
#include "charset.h"
#include "objfiles.h"
#include "language.h"
#include "build-id.h"
#include "symtab.h"
#include "python.h"
Go to the source code of this file.
Classes | |
struct | objfile_object |
struct | objfpy_deleter |
Macros | |
#define | OBJFPY_REQUIRE_VALID(obj) |
Variables | |
static const registry< objfile >::key< objfile_object, objfpy_deleter > | objfpy_objfile_data_key |
static PyMethodDef | objfile_object_methods [] |
static gdb_PyGetSetDef | objfile_getset [] |
PyTypeObject | objfile_object_type |
#define OBJFPY_REQUIRE_VALID | ( | obj | ) |
Definition at line 75 of file py-objfile.c.
Referenced by objfpy_add_separate_debug_file(), objfpy_get_build_id(), objfpy_get_owner(), objfpy_lookup_global_symbol(), and objfpy_lookup_static_symbol().
|
extern |
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_objfile | ) |
|
static |
Definition at line 708 of file py-objfile.c.
References gdb_module, gdb_pymodule_addobject(), and objfile_object_type.
Definition at line 591 of file py-objfile.c.
References build_id_bfd_get(), compare_filenames_for_search(), objfile::flags, gdb_PyArg_ParseTupleAndKeywords(), gdbarch_iterate_over_objfiles_in_search_order(), gdbpy_current_objfile, name, objfile::obfd, OBJF_NOT_FILENAME, objfile_filename(), objfile_to_objfile_object(), objfpy_build_id_matches(), objfpy_build_id_ok(), objfile::original_name, objfile::separate_debug_objfile_backlink, and target_gdbarch().
Definition at line 686 of file py-objfile.c.
References get(), registry< T >::get(), objfile::objfile(), objfile_object_type, objfpy_initialize(), objfpy_objfile_data_key, and registry< T >::set().
Referenced by create_free_objfile_event_object(), create_new_objfile_event_object(), find_pretty_printer_from_objfiles(), gdbpy_get_matching_xmethod_workers(), gdbpy_lookup_objfile(), objfpy_get_owner(), pspy_get_objfiles(), pspy_get_symbol_file(), pspy_objfile_for_address(), stpy_get_objfile(), and typy_get_objfile().
|
static |
Definition at line 437 of file py-objfile.c.
References GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), objfile_object::objfile, OBJFPY_REQUIRE_VALID, symbol_file_add_separate(), and symfile_bfd_open().
|
static |
Definition at line 568 of file py-objfile.c.
Referenced by gdbpy_lookup_objfile().
|
static |
Definition at line 549 of file py-objfile.c.
Referenced by gdbpy_lookup_objfile().
|
static |
Definition at line 192 of file py-objfile.c.
References objfile_object::dict, objfile_object::frame_filters, objfile_object::frame_unwinders, objfile_object::printers, objfile_object::type_printers, and objfile_object::xmethods.
Definition at line 151 of file py-objfile.c.
References build_id_bfd_get(), GDB_PY_HANDLE_EXCEPTION, host_string_to_python_string(), objfile::obfd, objfile_object::objfile, and OBJFPY_REQUIRE_VALID.
Definition at line 90 of file py-objfile.c.
References host_string_to_python_string(), objfile_object::objfile, and objfile_name().
Definition at line 293 of file py-objfile.c.
References objfile_object::frame_filters.
Definition at line 332 of file py-objfile.c.
References objfile_object::frame_unwinders.
Definition at line 121 of file py-objfile.c.
References objfile::flags, OBJF_NOT_FILENAME, and objfile_object::objfile.
Definition at line 134 of file py-objfile.c.
References objfile_object::objfile, objfile_to_objfile_object(), OBJFPY_REQUIRE_VALID, and objfile::separate_debug_objfile_backlink.
Definition at line 255 of file py-objfile.c.
References objfile_object::printers.
Referenced by find_pretty_printer_from_objfiles().
Definition at line 181 of file py-objfile.c.
References objfile_object::objfile, objfile::pspace, and pspace_to_pspace_object().
Definition at line 372 of file py-objfile.c.
References objfile_object::type_printers.
Definition at line 104 of file py-objfile.c.
References host_string_to_python_string(), objfile_object::objfile, and objfile::original_name.
Definition at line 383 of file py-objfile.c.
References objfile_object::xmethods.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 209 of file py-objfile.c.
References objfile_object::dict, objfile_object::frame_filters, objfile_object::frame_unwinders, objfile_object::objfile, objfile_object::printers, objfile_object::type_printers, and objfile_object::xmethods.
Referenced by objfile_to_objfile_object(), and objfpy_new().
Definition at line 424 of file py-objfile.c.
References objfile_object::objfile.
|
static |
Definition at line 466 of file py-objfile.c.
References symbol::domain(), GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), GLOBAL_BLOCK, lookup_global_symbol_from_objfile(), objfile_object::objfile, OBJFPY_REQUIRE_VALID, block_symbol::symbol, symbol_to_symbol_object(), and VAR_DOMAIN.
|
static |
Definition at line 500 of file py-objfile.c.
References symbol::domain(), GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), lookup_global_symbol_from_objfile(), objfile_object::objfile, OBJFPY_REQUIRE_VALID, STATIC_BLOCK, block_symbol::symbol, symbol_to_symbol_object(), and VAR_DOMAIN.
Definition at line 241 of file py-objfile.c.
References objfpy_initialize().
Definition at line 533 of file py-objfile.c.
References objfile_object::objfile, and objfile_name().
Definition at line 303 of file py-objfile.c.
References objfile_object::frame_filters.
Definition at line 343 of file py-objfile.c.
References objfile_object::frame_unwinders.
Definition at line 264 of file py-objfile.c.
References objfile_object::printers, and value.
Definition at line 394 of file py-objfile.c.
References objfile_object::type_printers, and value.
|
static |
Definition at line 745 of file py-objfile.c.
|
static |
Definition at line 721 of file py-objfile.c.
PyTypeObject objfile_object_type |
Definition at line 775 of file py-objfile.c.
Referenced by gdbpy_initialize_objfile(), and objfile_to_objfile_object().
|
static |
Definition at line 72 of file py-objfile.c.
Referenced by objfile_to_objfile_object().