|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| struct | addrmap_funcs |
| struct | addrmap |
| struct | addrmap_transition |
| struct | addrmap_fixed |
| struct | addrmap_mutable |
| struct | mutable_foreach_data |
Functions | |
| void | addrmap_set_empty (struct addrmap *map, CORE_ADDR start, CORE_ADDR end_inclusive, void *obj) |
| void * | addrmap_find (struct addrmap *map, CORE_ADDR addr) |
| struct addrmap * | addrmap_create_fixed (struct addrmap *original, struct obstack *obstack) |
| void | addrmap_relocate (struct addrmap *map, CORE_ADDR offset) |
| int | addrmap_foreach (struct addrmap *map, addrmap_foreach_fn fn, void *data) |
| static void | addrmap_fixed_set_empty (struct addrmap *self, CORE_ADDR start, CORE_ADDR end_inclusive, void *obj) |
| static void * | addrmap_fixed_find (struct addrmap *self, CORE_ADDR addr) |
| static struct addrmap * | addrmap_fixed_create_fixed (struct addrmap *self, struct obstack *obstack) |
| static void | addrmap_fixed_relocate (struct addrmap *self, CORE_ADDR offset) |
| static int | addrmap_fixed_foreach (struct addrmap *self, addrmap_foreach_fn fn, void *data) |
| static splay_tree_key | allocate_key (struct addrmap_mutable *map, CORE_ADDR addr) |
| static splay_tree_node | addrmap_splay_tree_lookup (struct addrmap_mutable *map, CORE_ADDR addr) |
| static splay_tree_node | addrmap_splay_tree_predecessor (struct addrmap_mutable *map, CORE_ADDR addr) |
| static splay_tree_node | addrmap_splay_tree_successor (struct addrmap_mutable *map, CORE_ADDR addr) |
| static void | addrmap_splay_tree_remove (struct addrmap_mutable *map, CORE_ADDR addr) |
| static CORE_ADDR | addrmap_node_key (splay_tree_node node) |
| static void * | addrmap_node_value (splay_tree_node node) |
| static void | addrmap_node_set_value (splay_tree_node node, void *value) |
| static void | addrmap_splay_tree_insert (struct addrmap_mutable *map, CORE_ADDR key, void *value) |
| static void | force_transition (struct addrmap_mutable *self, CORE_ADDR addr) |
| static void | addrmap_mutable_set_empty (struct addrmap *self, CORE_ADDR start, CORE_ADDR end_inclusive, void *obj) |
| static void * | addrmap_mutable_find (struct addrmap *self, CORE_ADDR addr) |
| static int | splay_foreach_count (splay_tree_node n, void *closure) |
| static int | splay_foreach_copy (splay_tree_node n, void *closure) |
| static struct addrmap * | addrmap_mutable_create_fixed (struct addrmap *self, struct obstack *obstack) |
| static void | addrmap_mutable_relocate (struct addrmap *self, CORE_ADDR offset) |
| static int | addrmap_mutable_foreach_worker (splay_tree_node node, void *data) |
| static int | addrmap_mutable_foreach (struct addrmap *self, addrmap_foreach_fn fn, void *data) |
| static void * | splay_obstack_alloc (int size, void *closure) |
| static void | splay_obstack_free (void *obj, void *closure) |
| static int | splay_compare_CORE_ADDR_ptr (splay_tree_key ak, splay_tree_key bk) |
| struct addrmap * | addrmap_create_mutable (struct obstack *obstack) |
| void | _initialize_addrmap (void) |
Variables | |
| static const struct addrmap_funcs | addrmap_fixed_funcs |
| static const struct addrmap_funcs | addrmap_mutable_funcs |
| void _initialize_addrmap | ( | void | ) |
Definition at line 594 of file addrmap.c.
References gdb_assert.
Definition at line 66 of file addrmap.c.
References addrmap_funcs::create_fixed, and addrmap::funcs.
Referenced by create_addrmap_from_aranges(), create_addrmap_from_index(), dwarf2_build_psymtabs_hard(), and make_blockvector().
| struct addrmap* addrmap_create_mutable | ( | struct obstack * | obstack | ) |
Definition at line 569 of file addrmap.c.
References addrmap_mutable::addrmap, addrmap_mutable_funcs, addrmap_mutable::free_nodes, addrmap::funcs, addrmap_mutable::obstack, splay_compare_CORE_ADDR_ptr(), splay_obstack_alloc(), splay_obstack_free(), and addrmap_mutable::tree.
Referenced by create_addrmap_from_aranges(), create_addrmap_from_index(), dwarf2_build_psymtabs_hard(), and record_block_range().
Definition at line 59 of file addrmap.c.
References addrmap_funcs::find, and addrmap::funcs.
Referenced by block_starting_point_at(), dw2_find_pc_sect_compunit_symtab(), find_block_in_blockvector(), and find_pc_sect_psymtab().
|
static |
Definition at line 160 of file addrmap.c.
References _, and internal_error().
Definition at line 127 of file addrmap.c.
References addrmap_transition::addr, addrmap_fixed::num_transitions, addrmap_fixed::transitions, and addrmap_transition::value.
|
static |
Definition at line 180 of file addrmap.c.
References addrmap_transition::addr, addrmap_fixed::num_transitions, addrmap_fixed::transitions, and addrmap_transition::value.
Definition at line 169 of file addrmap.c.
References addrmap_transition::addr, addrmap_fixed::num_transitions, offset, and addrmap_fixed::transitions.
|
static |
Definition at line 116 of file addrmap.c.
References internal_error().
| int addrmap_foreach | ( | struct addrmap * | map, |
| addrmap_foreach_fn | fn, | ||
| void * | data | ||
| ) |
Definition at line 82 of file addrmap.c.
References addrmap_funcs::foreach, and addrmap::funcs.
Referenced by dump_psymtab_addrmap(), and write_address_map().
|
static |
Definition at line 425 of file addrmap.c.
References addrmap_transition::addr, addrmap_fixed::addrmap, addrmap_fixed_funcs, addrmap::funcs, gdb_assert, addrmap_fixed::num_transitions, splay_foreach_copy(), splay_foreach_count(), addrmap_fixed::transitions, addrmap_mutable::tree, and addrmap_transition::value.
Definition at line 387 of file addrmap.c.
References _, and internal_error().
|
static |
Definition at line 492 of file addrmap.c.
References addrmap_mutable_foreach_worker(), mutable_foreach_data::data, mutable_foreach_data::fn, and addrmap_mutable::tree.
|
static |
Definition at line 480 of file addrmap.c.
References addrmap_node_key(), addrmap_node_value(), mutable_foreach_data::data, and mutable_foreach_data::fn.
Referenced by addrmap_mutable_foreach().
Definition at line 460 of file addrmap.c.
References _, and internal_error().
|
static |
Definition at line 333 of file addrmap.c.
References addrmap_node_key(), addrmap_node_set_value(), addrmap_node_value(), addrmap_splay_tree_lookup(), addrmap_splay_tree_predecessor(), addrmap_splay_tree_remove(), addrmap_splay_tree_successor(), CORE_ADDR_MAX, force_transition(), and gdb_assert.
|
static |
Definition at line 284 of file addrmap.c.
Referenced by addrmap_mutable_foreach_worker(), addrmap_mutable_set_empty(), and splay_foreach_copy().
|
static |
Definition at line 298 of file addrmap.c.
Referenced by addrmap_mutable_set_empty().
|
static |
Definition at line 291 of file addrmap.c.
Referenced by addrmap_mutable_foreach_worker(), addrmap_mutable_set_empty(), force_transition(), and splay_foreach_copy().
Definition at line 75 of file addrmap.c.
References addrmap::funcs, offset, and addrmap_funcs::relocate.
Referenced by objfile_relocate1().
| void addrmap_set_empty | ( | struct addrmap * | map, |
| CORE_ADDR | start, | ||
| CORE_ADDR | end_inclusive, | ||
| void * | obj | ||
| ) |
Definition at line 50 of file addrmap.c.
References addrmap::funcs, and addrmap_funcs::set_empty.
Referenced by add_partial_subprogram(), create_addrmap_from_aranges(), create_addrmap_from_index(), dwarf2_ranges_read(), process_psymtab_comp_unit_reader(), and record_block_range().
|
static |
Definition at line 305 of file addrmap.c.
References allocate_key(), and addrmap_mutable::tree.
Referenced by force_transition().
|
static |
Definition at line 256 of file addrmap.c.
References addrmap_mutable::tree.
Referenced by addrmap_mutable_set_empty(), and force_transition().
|
static |
Definition at line 263 of file addrmap.c.
References addrmap_mutable::tree.
Referenced by addrmap_mutable_set_empty(), and force_transition().
|
static |
Definition at line 277 of file addrmap.c.
References addrmap_mutable::tree.
Referenced by addrmap_mutable_set_empty().
|
static |
Definition at line 270 of file addrmap.c.
References addrmap_mutable::tree.
Referenced by addrmap_mutable_set_empty().
|
static |
Definition at line 245 of file addrmap.c.
References addrmap_mutable::obstack.
Referenced by addrmap_splay_tree_insert().
|
static |
Definition at line 318 of file addrmap.c.
References addrmap_node_value(), addrmap_splay_tree_insert(), addrmap_splay_tree_lookup(), and addrmap_splay_tree_predecessor().
Referenced by addrmap_mutable_set_empty().
|
static |
Definition at line 553 of file addrmap.c.
Referenced by addrmap_create_mutable().
|
static |
Definition at line 411 of file addrmap.c.
References addrmap_transition::addr, addrmap_node_key(), addrmap_node_value(), addrmap_fixed::num_transitions, addrmap_fixed::transitions, and addrmap_transition::value.
Referenced by addrmap_mutable_create_fixed().
|
static |
Definition at line 399 of file addrmap.c.
Referenced by addrmap_mutable_create_fixed().
|
static |
Definition at line 516 of file addrmap.c.
References addrmap_mutable::free_nodes, gdb_assert, addrmap_mutable::obstack, and size.
Referenced by addrmap_create_mutable().
|
static |
Definition at line 538 of file addrmap.c.
References addrmap_mutable::free_nodes.
Referenced by addrmap_create_mutable().
|
static |
Definition at line 198 of file addrmap.c.
Referenced by addrmap_mutable_create_fixed().
|
static |
Definition at line 505 of file addrmap.c.
Referenced by addrmap_create_mutable().
1.8.14