GDB (API)
|
#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.
Defines | |
#define | ARCHPY_REQUIRE_VALID(arch_obj, arch) |
Typedefs | |
typedef struct arch_object_type_object | arch_object |
Functions | |
struct gdbarch * | arch_object_to_gdbarch (PyObject *obj) |
PyObject * | gdbarch_to_arch_object (struct gdbarch *gdbarch) |
int | gdbpy_initialize_arch (void) |
#define ARCHPY_REQUIRE_VALID | ( | arch_obj, | |
arch | |||
) |
do { \ arch = arch_object_to_gdbarch (arch_obj); \ if (arch == NULL) \ { \ PyErr_SetString (PyExc_RuntimeError, \ _("Architecture is invalid.")); \ return NULL; \ } \ } while (0)
typedef struct arch_object_type_object arch_object |
struct gdbarch* arch_object_to_gdbarch | ( | PyObject * | obj | ) | [read] |
PyObject* gdbarch_to_arch_object | ( | struct gdbarch * | gdbarch | ) |
int gdbpy_initialize_arch | ( | void | ) |