|
GDB (API)
|
#include "defs.h"#include "charset.h"#include "symtab.h"#include "source.h"#include "python-internal.h"#include "objfiles.h"#include "block.h"Go to the source code of this file.
Defines | |
| #define | STPY_REQUIRE_VALID(symtab_obj, symtab) |
| #define | SALPY_REQUIRE_VALID(sal_obj, sal) |
Typedefs | |
| typedef struct stpy_symtab_object | symtab_object |
| typedef struct salpy_sal_object | sal_object |
Functions | |
| PyObject * | symtab_to_symtab_object (struct symtab *symtab) |
| PyObject * | symtab_and_line_to_sal_object (struct symtab_and_line sal) |
| struct symtab_and_line * | sal_object_to_symtab_and_line (PyObject *obj) |
| struct symtab * | symtab_object_to_symtab (PyObject *obj) |
| int | gdbpy_initialize_symtabs (void) |
| #define SALPY_REQUIRE_VALID | ( | sal_obj, | |
| sal | |||
| ) |
do { \ sal = sal_object_to_symtab_and_line (sal_obj); \ if (sal == NULL) \ { \ PyErr_SetString (PyExc_RuntimeError, \ _("Symbol Table and Line is invalid.")); \ return NULL; \ } \ } while (0)
Definition at line 77 of file py-symtab.c.
| #define STPY_REQUIRE_VALID | ( | symtab_obj, | |
| symtab | |||
| ) |
do { \ symtab = symtab_object_to_symtab (symtab_obj); \ if (symtab == NULL) \ { \ PyErr_SetString (PyExc_RuntimeError, \ _("Symbol Table is invalid.")); \ return NULL; \ } \ } while (0)
Definition at line 46 of file py-symtab.c.
| typedef struct salpy_sal_object sal_object |
| typedef struct stpy_symtab_object symtab_object |
| int gdbpy_initialize_symtabs | ( | void | ) |
Definition at line 485 of file py-symtab.c.
| struct symtab_and_line* sal_object_to_symtab_and_line | ( | PyObject * | obj | ) | [read] |
Definition at line 420 of file py-symtab.c.
| PyObject* symtab_and_line_to_sal_object | ( | struct symtab_and_line | sal | ) |
Definition at line 399 of file py-symtab.c.
| struct symtab* symtab_object_to_symtab | ( | PyObject * | obj | ) | [read] |
Definition at line 429 of file py-symtab.c.
| PyObject* symtab_to_symtab_object | ( | struct symtab * | symtab | ) |
Definition at line 385 of file py-symtab.c.
1.7.6.1