GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | membuf_object |
Functions | |
PyTypeObject membuf_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("membuf_object") |
PyObject * | gdbpy_buffer_to_membuf (gdb::unique_xmalloc_ptr< gdb_byte > buffer, CORE_ADDR address, ULONGEST length) |
static void | mbpy_dealloc (PyObject *self) |
static PyObject * | mbpy_str (PyObject *self) |
static int | get_buffer (PyObject *self, Py_buffer *buf, int flags) |
int | gdbpy_initialize_membuf (void) |
Variables | |
static PyBufferProcs | buffer_procs |
PyTypeObject | membuf_object_type |
PyTypeObject membuf_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "membuf_object" | ) |
PyObject * gdbpy_buffer_to_membuf | ( | gdb::unique_xmalloc_ptr< gdb_byte > | buffer, |
CORE_ADDR | address, | ||
ULONGEST | length | ||
) |
Definition at line 44 of file py-membuf.c.
References membuf_object_type.
Referenced by disasmpy_info_read_memory(), and infpy_read_memory().
int gdbpy_initialize_membuf | ( | void | ) |
Definition at line 103 of file py-membuf.c.
References gdb_module, gdb_pymodule_addobject(), and membuf_object_type.
Referenced by do_start_initialization().
|
static |
Definition at line 84 of file py-membuf.c.
References membuf_object::buffer, and membuf_object::length.
|
static |
Definition at line 63 of file py-membuf.c.
References xfree().
|
static |
Definition at line 72 of file py-membuf.c.
References membuf_object::addr, gdbpy_enter::get_gdbarch(), membuf_object::length, and paddress().
|
static |
Definition at line 113 of file py-membuf.c.
PyTypeObject membuf_object_type |
Definition at line 118 of file py-membuf.c.
Referenced by gdbpy_buffer_to_membuf(), and gdbpy_initialize_membuf().