|
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 "py-ref.h"Go to the source code of this file.
Classes | |
| struct | objfile_object |
Macros | |
| #define | OBJFPY_REQUIRE_VALID(obj) |
Functions | |
| PyTypeObject objfile_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("objfile_object") |
| static PyObject * | objfpy_get_filename (PyObject *self, void *closure) |
| static PyObject * | objfpy_get_username (PyObject *self, void *closure) |
| static PyObject * | objfpy_get_owner (PyObject *self, void *closure) |
| static PyObject * | objfpy_get_build_id (PyObject *self, void *closure) |
| static PyObject * | objfpy_get_progspace (PyObject *self, void *closure) |
| static void | objfpy_dealloc (PyObject *o) |
| static int | objfpy_initialize (objfile_object *self) |
| static PyObject * | objfpy_new (PyTypeObject *type, PyObject *args, PyObject *keywords) |
| PyObject * | objfpy_get_printers (PyObject *o, void *ignore) |
| static int | objfpy_set_printers (PyObject *o, PyObject *value, void *ignore) |
| PyObject * | objfpy_get_frame_filters (PyObject *o, void *ignore) |
| static int | objfpy_set_frame_filters (PyObject *o, PyObject *filters, void *ignore) |
| PyObject * | objfpy_get_frame_unwinders (PyObject *o, void *ignore) |
| static int | objfpy_set_frame_unwinders (PyObject *o, PyObject *unwinders, void *ignore) |
| static PyObject * | objfpy_get_type_printers (PyObject *o, void *ignore) |
| PyObject * | objfpy_get_xmethods (PyObject *o, void *ignore) |
| static int | objfpy_set_type_printers (PyObject *o, PyObject *value, void *ignore) |
| static PyObject * | objfpy_is_valid (PyObject *self, PyObject *args) |
| static PyObject * | objfpy_add_separate_debug_file (PyObject *self, PyObject *args, PyObject *kw) |
| static int | objfpy_build_id_ok (const char *string) |
| static int | objfpy_build_id_matches (const struct bfd_build_id *build_id, const char *string) |
| static struct objfile * | objfpy_lookup_objfile_by_name (const char *name) |
| static struct objfile * | objfpy_lookup_objfile_by_build_id (const char *build_id) |
| PyObject * | gdbpy_lookup_objfile (PyObject *self, PyObject *args, PyObject *kw) |
| static void | py_free_objfile (struct objfile *objfile, void *datum) |
| PyObject * | objfile_to_objfile_object (struct objfile *objfile) |
| int | gdbpy_initialize_objfile (void) |
Variables | |
| static const struct objfile_data * | 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 62 of file py-objfile.c.
Referenced by objfpy_add_separate_debug_file(), objfpy_get_build_id(), and objfpy_get_owner().
| PyTypeObject objfile_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "objfile_object" | ) |
| int gdbpy_initialize_objfile | ( | void | ) |
Definition at line 645 of file py-objfile.c.
References gdb_module, gdb_pymodule_addobject(), objfile_object_type, objfpy_objfile_data_key, and py_free_objfile().
Referenced by do_start_initialization().
| PyObject* gdbpy_lookup_objfile | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw | ||
| ) |
Definition at line 560 of file py-objfile.c.
References _, gdb_PyArg_ParseTupleAndKeywords(), name, objfile::objfile(), objfile_to_objfile_object(), objfpy_build_id_ok(), objfpy_lookup_objfile_by_build_id(), and objfpy_lookup_objfile_by_name().
| PyObject* objfile_to_objfile_object | ( | struct objfile * | objfile | ) |
Definition at line 624 of file py-objfile.c.
References objfile::objfile(), objfile_object_type, objfpy_initialize(), and objfpy_objfile_data_key.
Referenced by create_new_objfile_event_object(), find_pretty_printer_from_objfiles(), gdbpy_get_current_objfile(), gdbpy_get_matching_xmethod_workers(), gdbpy_lookup_objfile(), gdbpy_objfiles(), objfpy_get_owner(), and stpy_get_objfile().
|
static |
Definition at line 433 of file py-objfile.c.
References CATCH, END_CATCH, GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), gdb::ref_ptr< T, Policy >::get(), objfile_object::objfile, OBJFPY_REQUIRE_VALID, RETURN_MASK_ALL, symbol_file_add_separate(), symfile_bfd_open(), and TRY.
|
static |
Definition at line 482 of file py-objfile.c.
References host_hex_value().
Referenced by objfpy_lookup_objfile_by_build_id().
|
static |
Definition at line 463 of file py-objfile.c.
Referenced by gdbpy_lookup_objfile().
|
static |
Definition at line 180 of file py-objfile.c.
References Py_TYPE.
|
static |
Definition at line 130 of file py-objfile.c.
References build_id_bfd_get(), CATCH, END_CATCH, GDB_PY_HANDLE_EXCEPTION, host_string_to_python_string(), make_hex_string(), objfile::obfd, objfile_object::objfile, OBJFPY_REQUIRE_VALID, RETURN_MASK_ALL, TRY, and xfree().
|
static |
Definition at line 77 of file py-objfile.c.
References host_string_to_python_string(), objfile_object::objfile, and objfile_name().
| PyObject* objfpy_get_frame_filters | ( | PyObject * | o, |
| void * | ignore | ||
| ) |
Definition at line 283 of file py-objfile.c.
| PyObject* objfpy_get_frame_unwinders | ( | PyObject * | o, |
| void * | ignore | ||
| ) |
Definition at line 324 of file py-objfile.c.
|
static |
Definition at line 108 of file py-objfile.c.
References objfile_object::objfile, objfile_to_objfile_object(), OBJFPY_REQUIRE_VALID, and objfile::separate_debug_objfile_backlink.
| PyObject* objfpy_get_printers | ( | PyObject * | o, |
| void * | ignore | ||
| ) |
Definition at line 243 of file py-objfile.c.
Referenced by find_pretty_printer_from_objfiles().
|
static |
Definition at line 164 of file py-objfile.c.
References objfile_object::objfile, objfile::pspace, and pspace_to_pspace_object().
|
static |
Definition at line 366 of file py-objfile.c.
|
static |
Definition at line 90 of file py-objfile.c.
References host_string_to_python_string(), objfile_object::objfile, and objfile::original_name.
| PyObject* objfpy_get_xmethods | ( | PyObject * | o, |
| void * | ignore | ||
| ) |
Definition at line 377 of file py-objfile.c.
Referenced by gdbpy_get_matching_xmethod_workers().
|
static |
Definition at line 197 of file py-objfile.c.
Referenced by objfile_to_objfile_object(), and objfpy_new().
|
static |
Definition at line 420 of file py-objfile.c.
References objfile_object::objfile.
|
static |
Definition at line 534 of file py-objfile.c.
References ALL_OBJFILES, build_id_bfd_get(), objfile::obfd, objfile::objfile(), objfpy_build_id_matches(), and objfile::separate_debug_objfile_backlink.
Referenced by gdbpy_lookup_objfile().
|
static |
Definition at line 506 of file py-objfile.c.
References ALL_OBJFILES, compare_filenames_for_search(), objfile::flags, name, OBJF_NOT_FILENAME, objfile::objfile(), objfile_filename(), objfile::original_name, and objfile::separate_debug_objfile_backlink.
Referenced by gdbpy_lookup_objfile().
|
static |
Definition at line 229 of file py-objfile.c.
References objfpy_initialize(), and gdb::ref_ptr< T, Policy >::release().
|
static |
Definition at line 293 of file py-objfile.c.
References _.
|
static |
Definition at line 335 of file py-objfile.c.
References _.
|
static |
Definition at line 252 of file py-objfile.c.
References _.
|
static |
Definition at line 388 of file py-objfile.c.
References _.
|
static |
Definition at line 611 of file py-objfile.c.
References current_language, and get_objfile_arch().
Referenced by gdbpy_initialize_objfile().
|
static |
Definition at line 673 of file py-objfile.c.
|
static |
Definition at line 659 of file py-objfile.c.
| PyTypeObject objfile_object_type |
Definition at line 701 of file py-objfile.c.
Referenced by gdbpy_initialize_objfile(), and objfile_to_objfile_object().
|
static |
Definition at line 59 of file py-objfile.c.
Referenced by gdbpy_initialize_objfile(), and objfile_to_objfile_object().
1.8.14