|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | linetable_entry_object |
| struct | linetable_object |
| struct | ltpy_iterator_object |
Macros | |
| #define | LTPY_REQUIRE_VALID(lt_obj, symtab) |
Functions | |
| PyTypeObject linetable_entry_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("linetable_entry_object") |
| PyTypeObject linetable_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("linetable_object") |
| PyTypeObject ltpy_iterator_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("ltpy_iterator_object") |
| static PyObject * | get_symtab (PyObject *linetable) |
| PyObject * | symtab_to_linetable_object (PyObject *symtab) |
| static PyObject * | build_linetable_entry (int line, CORE_ADDR address) |
| static PyObject * | build_line_table_tuple_from_pcs (int line, const std::vector< CORE_ADDR > &pcs) |
| static PyObject * | ltpy_get_pcs_for_line (PyObject *self, PyObject *args) |
| static PyObject * | ltpy_has_line (PyObject *self, PyObject *args) |
| static PyObject * | ltpy_get_all_source_lines (PyObject *self, PyObject *args) |
| static PyObject * | ltpy_is_valid (PyObject *self, PyObject *args) |
| static void | ltpy_dealloc (PyObject *self) |
| int | gdbpy_initialize_linetable (void) |
| static PyObject * | ltpy_entry_get_line (PyObject *self, void *closure) |
| static PyObject * | ltpy_entry_get_pc (PyObject *self, void *closure) |
| static PyObject * | ltpy_iter (PyObject *self) |
| static void | ltpy_iterator_dealloc (PyObject *obj) |
| static PyObject * | ltpy_iterator (PyObject *self) |
| static PyObject * | ltpy_iternext (PyObject *self) |
| static PyObject * | ltpy_iter_is_valid (PyObject *self, PyObject *args) |
Variables | |
| static PyMethodDef | linetable_object_methods [] |
| PyTypeObject | linetable_object_type |
| static PyMethodDef | ltpy_iterator_methods [] |
| PyTypeObject | ltpy_iterator_object_type |
| static gdb_PyGetSetDef | linetable_entry_object_getset [] |
| PyTypeObject | linetable_entry_object_type |
| #define LTPY_REQUIRE_VALID | ( | lt_obj, | |
| symtab | |||
| ) |
Definition at line 70 of file py-linetable.c.
Referenced by ltpy_get_all_source_lines(), ltpy_get_pcs_for_line(), ltpy_has_line(), ltpy_iter(), ltpy_iterator(), and ltpy_iternext().
|
static |
Definition at line 125 of file py-linetable.c.
References build_linetable_entry(), gdb::ref_ptr< T, Policy >::get(), and gdb::ref_ptr< T, Policy >::release().
Referenced by ltpy_get_pcs_for_line().
|
static |
Definition at line 103 of file py-linetable.c.
References linetable_entry_object::line, linetable_entry_object_type, and linetable_entry_object::pc.
Referenced by build_line_table_tuple_from_pcs(), and ltpy_iternext().
| PyTypeObject linetable_entry_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "linetable_entry_object" | ) |
| PyTypeObject linetable_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "linetable_object" | ) |
| PyTypeObject ltpy_iterator_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "ltpy_iterator_object" | ) |
| int gdbpy_initialize_linetable | ( | void | ) |
Definition at line 292 of file py-linetable.c.
References gdb_module, gdb_pymodule_addobject(), linetable_entry_object_type, linetable_object_type, and ltpy_iterator_object_type.
Referenced by do_start_initialization().
|
static |
Definition at line 63 of file py-linetable.c.
References linetable_object::symtab.
Referenced by ltpy_is_valid(), and ltpy_iter_is_valid().
|
static |
Definition at line 280 of file py-linetable.c.
References Py_DECREF, Py_TYPE, and linetable_object::symtab.
|
static |
Definition at line 326 of file py-linetable.c.
References gdb_py_object_from_longest(), and linetable_entry_object::line.
|
static |
Definition at line 337 of file py-linetable.c.
References gdb_py_object_from_longest(), and linetable_entry_object::pc.
|
static |
Definition at line 220 of file py-linetable.c.
References _, gdb_py_object_from_longest(), gdb::ref_ptr< T, Policy >::get(), linetable_entry::line, LTPY_REQUIRE_VALID, and SYMTAB_LINETABLE.
|
static |
Definition at line 156 of file py-linetable.c.
References build_line_table_tuple_from_pcs(), CATCH, END_CATCH, find_pcs_for_symtab_line(), GDB_PY_HANDLE_EXCEPTION, GDB_PY_LL_ARG, LTPY_REQUIRE_VALID, RETURN_MASK_ALL, and TRY.
|
static |
Definition at line 186 of file py-linetable.c.
References _, GDB_PY_LL_ARG, linetable_entry::line, LTPY_REQUIRE_VALID, and SYMTAB_LINETABLE.
|
static |
Definition at line 264 of file py-linetable.c.
References get_symtab(), and symtab_object_to_symtab().
|
static |
Definition at line 349 of file py-linetable.c.
References ltpy_iterator_object::current_index, ltpy_iterator_object_type, LTPY_REQUIRE_VALID, and ltpy_iterator_object::source.
|
static |
Definition at line 437 of file py-linetable.c.
References get_symtab(), ltpy_iterator_object::source, and symtab_object_to_symtab().
|
static |
Definition at line 379 of file py-linetable.c.
References LTPY_REQUIRE_VALID, and ltpy_iterator_object::source.
|
static |
Definition at line 369 of file py-linetable.c.
References Py_DECREF, and ltpy_iterator_object::source.
|
static |
Definition at line 394 of file py-linetable.c.
References build_linetable_entry(), ltpy_iterator_object::current_index, linetable_entry::line, LTPY_REQUIRE_VALID, linetable_entry::pc, ltpy_iterator_object::source, and SYMTAB_LINETABLE.
| PyObject* symtab_to_linetable_object | ( | PyObject * | symtab | ) |
Definition at line 86 of file py-linetable.c.
References linetable_object_type, and linetable_object::symtab.
Referenced by stpy_get_linetable().
|
static |
Definition at line 547 of file py-linetable.c.
| PyTypeObject linetable_entry_object_type |
Definition at line 555 of file py-linetable.c.
Referenced by build_linetable_entry(), and gdbpy_initialize_linetable().
|
static |
Definition at line 452 of file py-linetable.c.
| PyTypeObject linetable_object_type |
Definition at line 468 of file py-linetable.c.
Referenced by gdbpy_initialize_linetable(), and symtab_to_linetable_object().
|
static |
Definition at line 508 of file py-linetable.c.
| PyTypeObject ltpy_iterator_object_type |
Definition at line 515 of file py-linetable.c.
Referenced by gdbpy_initialize_linetable(), and ltpy_iter().
1.8.14