summaryrefslogtreecommitdiffstats
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-10-09 04:43:49 +0000
committerJim Blandy <jimb@codesourcery.com>2002-10-09 04:43:49 +0000
commit57349743d5a73b60ce32e5aa38ad3ebc0b361e8a (patch)
tree0f3d6393d013c242a2abfbd2af9fd8d61d727e8b /gdb/gdbarch.c
parentd14a0ab1e169100fd54654c2e16607d0659cda14 (diff)
downloadppe42-binutils-57349743d5a73b60ce32e5aa38ad3ebc0b361e8a.tar.gz
ppe42-binutils-57349743d5a73b60ce32e5aa38ad3ebc0b361e8a.zip
2002-10-08 Petr Sorfa <petrs@caldera.com>
Revised and re-submitted by John Wolfe <jlw@caldera.com> Move the Dwarf 2 abbrev table to a per-compilation-unit structure, so we can work on more than one compilation unit at a time. This helps prepare GDB to handle inter-CU die references. * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in the code to be defined before struct comp_unit_head. (comp_unit_head): Added new members - offset, cu_head, begin_die, next and dwarf2_abbrevs. (dwarf2_abbrevs): Removed single static var; now member of struct comp_unit_head. dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head members. (psymtab_to_symtab_1): Changed to work with the new struct comp_unit_head. (dwarf2_read_abbrevs): Now accepts a cu_header parameter and constructs the dwarf2_abbrevs[] inside the cu_header. (dwarf2_empty_abbrev_table): Now expects a ptr to a dwarf2_abbrev table to clean up. (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and handling of dwarf2_abbrevs inside the cu_header. (read_partial_die): Now supports the call to the new dwarf2_lookup_abbrev. (read_full_die): Now supports the call to the new dwarf2_lookup_abbrev.
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud