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.
Referenced by blpy_block_syms_iter(), and blpy_block_syms_iternext().
#define BLPY_REQUIRE_VALID | ( | block_obj, | |
block ) |
Definition at line 57 of file py-block.c.
Referenced by blpy_get_end(), blpy_get_function(), blpy_get_global_block(), blpy_get_start(), blpy_get_static_block(), blpy_get_superblock(), blpy_getitem(), blpy_is_global(), blpy_is_static(), and blpy_iter().
Definition at line 336 of file py-block.c.
References block_object_type.
Referenced by blpy_is_valid(), blpy_repr(), frapy_read_var(), gdbpy_lookup_symbol(), gdbpy_lookup_type(), and typy_template_argument().
Definition at line 323 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(), pending_framepy_block(), pspy_block_for_pc(), stpy_global_block(), and stpy_static_block().
|
static |
Definition at line 383 of file py-block.c.
References block_syms_iterator_object::source.
Definition at line 345 of file py-block.c.
References BLPY_ITER_REQUIRE_VALID, and block_syms_iterator_object::source.
Definition at line 358 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 283 of file py-block.c.
References blpy_objfile_data_key, block::objfile(), 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_to_block_object(), BLPY_REQUIRE_VALID, block::global_block(), 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_to_block_object(), BLPY_REQUIRE_VALID, block_object::objfile, block::static_block(), 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 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 395 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 410 of file py-block.c.
References block_object::block, and block_syms_iterator_object::source.
Definition at line 424 of file py-block.c.
References block_object_to_block(), block::function(), mdict_size(), block::multidict(), name, and general_symbol_info::print_name().
|
extern |
|
static |
Definition at line 457 of file py-block.c.
References block_object_type, block_syms_iterator_object_type, gdb_module, and gdb_pymodule_addobject().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_blocks | ) |
|
static |
Definition at line 303 of file py-block.c.
References block_object::block, blpy_objfile_data_key, registry< T >::get(), block_object::next, block::objfile(), block_object::objfile, block_object::prev, and registry< T >::set().
Referenced by block_to_block_object().
|
static |
Definition at line 543 of file py-block.c.
|
static |
Definition at line 504 of file py-block.c.
|
static |
Definition at line 486 of file py-block.c.
|
static |
Definition at line 479 of file py-block.c.
PyTypeObject block_object_type |
Definition at line 510 of file py-block.c.
Referenced by block_object_to_block(), block_to_block_object(), frapy_read_var(), gdbpy_initialize_blocks(), and gdbpy_lookup_symbol().
PyTypeObject block_syms_iterator_object_type |
Definition at line 550 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().