GDB (xrefs)
|
#include "defs.h"
#include "block.h"
#include "dictionary.h"
#include "symtab.h"
#include "python-internal.h"
#include "objfiles.h"
Go to the source code of this file.
Classes | |
struct | block_object |
struct | block_syms_iterator_object |
struct | blpy_deleter |
Macros | |
#define | BLPY_REQUIRE_VALID(block_obj, block) |
#define | BLPY_ITER_REQUIRE_VALID(block_obj) |
Variables | |
static const registry< objfile >::key< block_object, blpy_deleter > | blpy_objfile_data_key |
static PyMethodDef | block_object_methods [] |
static gdb_PyGetSetDef | block_object_getset [] |
static PyMappingMethods | block_object_as_mapping |
PyTypeObject | block_object_type |
static PyMethodDef | block_iterator_object_methods [] |
PyTypeObject | block_syms_iterator_object_type |
#define BLPY_ITER_REQUIRE_VALID | ( | block_obj | ) |
Definition at line 70 of file py-block.c.
#define BLPY_REQUIRE_VALID | ( | block_obj, | |
block | |||
) |
Definition at line 57 of file py-block.c.
Definition at line 342 of file py-block.c.
References block_object_type.
Referenced by blpy_is_valid(), frapy_read_var(), gdbpy_lookup_symbol(), gdbpy_lookup_type(), and typy_template_argument().
Definition at line 329 of file py-block.c.
References block_object_type, and set_block().
Referenced by blpy_get_global_block(), blpy_get_static_block(), blpy_get_superblock(), frapy_block(), pspy_block_for_pc(), stpy_global_block(), and stpy_static_block().
|
static |
Definition at line 389 of file py-block.c.
References block_syms_iterator_object::source.
Definition at line 351 of file py-block.c.
References BLPY_ITER_REQUIRE_VALID, and block_syms_iterator_object::source.
Definition at line 364 of file py-block.c.
References block_syms_iterator_object::block, block_iterator_first(), block_iterator_next(), BLPY_ITER_REQUIRE_VALID, block_syms_iterator_object::initialized_p, block_syms_iterator_object::iter, block_syms_iterator_object::source, and symbol_to_symbol_object().
|
static |
Definition at line 289 of file py-block.c.
References blpy_objfile_data_key, and registry< T >::set().
Definition at line 140 of file py-block.c.
References BLPY_REQUIRE_VALID, block::end(), and gdb_py_object_from_ulongest().
Definition at line 150 of file py-block.c.
References BLPY_REQUIRE_VALID, block::function(), and symbol_to_symbol_object().
Definition at line 183 of file py-block.c.
References block_global_block(), block_to_block_object(), BLPY_REQUIRE_VALID, and block_object::objfile.
Definition at line 130 of file py-block.c.
References BLPY_REQUIRE_VALID, gdb_py_object_from_ulongest(), and block::start().
Definition at line 202 of file py-block.c.
References block_static_block(), block_to_block_object(), BLPY_REQUIRE_VALID, block_object::objfile, and block::superblock().
Definition at line 165 of file py-block.c.
References block_to_block_object(), BLPY_REQUIRE_VALID, block_object::objfile, and block::superblock().
Definition at line 256 of file py-block.c.
References ALL_BLOCK_SYMBOLS_WITH_NAME, BLPY_REQUIRE_VALID, FULL, name, python_string_to_host_string(), and symbol_to_symbol_object().
Definition at line 222 of file py-block.c.
References BLPY_REQUIRE_VALID, and block::superblock().
Definition at line 238 of file py-block.c.
References BLPY_REQUIRE_VALID, and block::superblock().
Definition at line 401 of file py-block.c.
References block_object_to_block().
Definition at line 109 of file py-block.c.
References block_syms_iterator_object::block, block_syms_iterator_object_type, BLPY_REQUIRE_VALID, block_syms_iterator_object::initialized_p, and block_syms_iterator_object::source.
Definition at line 416 of file py-block.c.
References block_object::block, and block_syms_iterator_object::source.
PyTypeObject block_syms_iterator_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF | ( | "block_syms_iterator_object" | ) |
int gdbpy_initialize_blocks | ( | void | ) |
Definition at line 428 of file py-block.c.
References block_object_type, block_syms_iterator_object_type, gdb_module, and gdb_pymodule_addobject().
|
static |
Definition at line 309 of file py-block.c.
References block_object::block, general_symbol_info::block, blpy_objfile_data_key, registry< T >::get(), block_object::next, block_object::objfile, symbol::objfile(), block_object::prev, and registry< T >::set().
Referenced by block_to_block_object().
|
static |
Definition at line 512 of file py-block.c.
|
static |
Definition at line 473 of file py-block.c.
|
static |
Definition at line 455 of file py-block.c.
|
static |
Definition at line 448 of file py-block.c.
PyTypeObject block_object_type |
Definition at line 479 of file py-block.c.
Referenced by block_object_to_block(), block_to_block_object(), gdbpy_initialize_blocks(), and gdbpy_lookup_symbol().
PyTypeObject block_syms_iterator_object_type |
Definition at line 519 of file py-block.c.
Referenced by blpy_iter(), and gdbpy_initialize_blocks().
|
static |
Definition at line 106 of file py-block.c.
Referenced by blpy_dealloc(), and set_block().