diff options
author | Doug Evans <dje@google.com> | 2012-06-29 00:06:18 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-06-29 00:06:18 +0000 |
commit | 433df2d4d071b2cb42c7ebd15a81b19f046ca0af (patch) | |
tree | 633dba17a1513d0f803063893ca69ab63dd23c0c /include/gdb | |
parent | bd2e36c1da2a1c60ccfb2c2794c85c898abfa22e (diff) | |
download | gdb-433df2d4d071b2cb42c7ebd15a81b19f046ca0af.zip gdb-433df2d4d071b2cb42c7ebd15a81b19f046ca0af.tar.gz gdb-433df2d4d071b2cb42c7ebd15a81b19f046ca0af.tar.bz2 |
* dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif.
(struct abbrev_table): Define.
(dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with
abbrev_table.
(init_cutu_and_read_dies): Update.
(abbrev_table_alloc_abbrev): New function. Replaces
dwarf_alloc_abbrev. All callers updated.
(abbrev_table_add_abbrev): New function.
(abbrev_table_lookup_abbrev): New function. Replaces
dwarf2_lookup_abbrev. All callers updated.
(abbrev_table_read_table): New function. Contents moved here from
dwarf2_read_abbrevs.
(dwarf2_read_abbrevs): Call it.
(abbrev_table_free): New function.
(dwarf2_free_abbrev_table): Call it.
Diffstat (limited to 'include/gdb')
0 files changed, 0 insertions, 0 deletions