GDB (xrefs)
|
#include "defs.h"
#include "gdbarch.h"
#include "arch-utils.h"
#include "disasm.h"
#include "python-internal.h"
Go to the source code of this file.
Classes | |
struct | arch_object |
Macros | |
#define | ARCHPY_REQUIRE_VALID(arch_obj, arch) |
Functions | |
PyTypeObject arch_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("arch_object") |
static PyObject * | arch_object_data_init (struct gdbarch *gdbarch) |
struct gdbarch * | arch_object_to_gdbarch (PyObject *obj) |
bool | gdbpy_is_architecture (PyObject *obj) |
PyObject * | gdbarch_to_arch_object (struct gdbarch *gdbarch) |
static PyObject * | archpy_name (PyObject *self, PyObject *args) |
static PyObject * | archpy_disassemble (PyObject *self, PyObject *args, PyObject *kw) |
static PyObject * | archpy_registers (PyObject *self, PyObject *args, PyObject *kw) |
static PyObject * | archpy_register_groups (PyObject *self, PyObject *args) |
static PyObject * | archpy_integer_type (PyObject *self, PyObject *args, PyObject *kw) |
static PyObject * | archpy_repr (PyObject *self) |
PyObject * | gdbpy_all_architecture_names (PyObject *self, PyObject *args) |
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION | gdbpy_initialize_arch (void) |
GDBPY_INITIALIZE_FILE (gdbpy_initialize_arch) | |
Variables | |
static const registry< gdbarch >::key< PyObject, gdb::noop_deleter< PyObject > > | arch_object_data |
static PyMethodDef | arch_object_methods [] |
PyTypeObject | arch_object_type |
#define ARCHPY_REQUIRE_VALID | ( | arch_obj, | |
arch ) |
Definition at line 35 of file py-arch.c.
Referenced by archpy_disassemble(), archpy_integer_type(), archpy_name(), archpy_register_groups(), and archpy_registers().
Definition at line 53 of file py-arch.c.
References arch_object_type, and arch_object::gdbarch.
Referenced by gdbarch_to_arch_object().
Definition at line 69 of file py-arch.c.
References arch_object::gdbarch, and gdbpy_is_architecture().
Referenced by archpy_repr().
Definition at line 127 of file py-arch.c.
References ARCHPY_REQUIRE_VALID, string_file::c_str(), string_file::empty(), gdb_print_insn(), gdb_py_object_from_longest(), gdb_py_object_from_ulongest(), gdb_PyArg_ParseTupleAndKeywords(), gdbpy_convert_exception(), and get_addr_from_python().
Definition at line 270 of file py-arch.c.
References ARCHPY_REQUIRE_VALID, builtin_type::builtin_int0, builtin_type::builtin_int128, builtin_type::builtin_int16, builtin_type::builtin_int24, builtin_type::builtin_int32, builtin_type::builtin_int64, builtin_type::builtin_int8, builtin_type(), builtin_type::builtin_uint128, builtin_type::builtin_uint16, builtin_type::builtin_uint24, builtin_type::builtin_uint32, builtin_type::builtin_uint64, builtin_type::builtin_uint8, gdb_PyArg_ParseTupleAndKeywords(), size, and type_to_type_object().
Definition at line 109 of file py-arch.c.
References ARCHPY_REQUIRE_VALID, gdbarch_bfd_arch_info(), and name.
Definition at line 259 of file py-arch.c.
References ARCHPY_REQUIRE_VALID, and gdbpy_new_reggroup_iterator().
Definition at line 237 of file py-arch.c.
References ARCHPY_REQUIRE_VALID, gdb_PyArg_ParseTupleAndKeywords(), and gdbpy_new_register_descriptor_iterator().
Definition at line 325 of file py-arch.c.
References arch_object_to_gdbarch(), and gdbarch_bfd_arch_info().
|
extern |
Definition at line 90 of file py-arch.c.
References arch_object_data, arch_object_data_init(), registry< T >::get(), and registry< T >::set().
Referenced by disasmpy_info_architecture(), frapy_arch(), infpy_architecture(), and pending_framepy_architecture().
Definition at line 341 of file py-arch.c.
References gdbarch_printable_names(), and name.
|
static |
Definition at line 363 of file py-arch.c.
References arch_object_type, gdb_module, and gdb_pymodule_addobject().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_arch | ) |
bool gdbpy_is_architecture | ( | PyObject * | obj | ) |
Definition at line 80 of file py-arch.c.
References arch_object_type.
Referenced by arch_object_to_gdbarch().
Definition at line 32 of file py-arch.c.
Referenced by gdbarch_to_arch_object().
|
static |
PyTypeObject arch_object_type |
Definition at line 403 of file py-arch.c.
Referenced by arch_object_data_init(), gdbpy_initialize_arch(), and gdbpy_is_architecture().