|
GDB (API)
|
#include "defs.h"#include "block.h"#include "exceptions.h"#include "frame.h"#include "symtab.h"#include "python-internal.h"#include "objfiles.h"Go to the source code of this file.
Defines | |
| #define | SYMPY_REQUIRE_VALID(symbol_obj, symbol) |
Typedefs | |
| typedef struct sympy_symbol_object | symbol_object |
Functions | |
| PyObject * | symbol_to_symbol_object (struct symbol *sym) |
| struct symbol * | symbol_object_to_symbol (PyObject *obj) |
| PyObject * | gdbpy_lookup_symbol (PyObject *self, PyObject *args, PyObject *kw) |
| PyObject * | gdbpy_lookup_global_symbol (PyObject *self, PyObject *args, PyObject *kw) |
| int | gdbpy_initialize_symbols (void) |
Variables | |
| PyTypeObject | symbol_object_type |
| #define SYMPY_REQUIRE_VALID | ( | symbol_obj, | |
| symbol | |||
| ) |
do { \ symbol = symbol_object_to_symbol (symbol_obj); \ if (symbol == NULL) \ { \ PyErr_SetString (PyExc_RuntimeError, \ _("Symbol is invalid.")); \ return NULL; \ } \ } while (0)
Definition at line 42 of file py-symbol.c.
| typedef struct sympy_symbol_object symbol_object |
| int gdbpy_initialize_symbols | ( | void | ) |
Definition at line 478 of file py-symbol.c.
| PyObject* gdbpy_lookup_global_symbol | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw | ||
| ) |
Definition at line 422 of file py-symbol.c.
| PyObject* gdbpy_lookup_symbol | ( | PyObject * | self, |
| PyObject * | args, | ||
| PyObject * | kw | ||
| ) |
Definition at line 355 of file py-symbol.c.
| struct symbol* symbol_object_to_symbol | ( | PyObject * | obj | ) | [read] |
Definition at line 324 of file py-symbol.c.
| PyObject* symbol_to_symbol_object | ( | struct symbol * | sym | ) |
Definition at line 311 of file py-symbol.c.
| PyTypeObject symbol_object_type |
Definition at line 580 of file py-symbol.c.
1.7.6.1