* dwarf2read.c (REF_HASH_SIZE): Delete.
authorDaniel Jacobowitz <drow@false.org>
Wed, 20 Aug 2008 19:50:54 +0000 (19:50 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 20 Aug 2008 19:50:54 +0000 (19:50 +0000)
commit51545339ac7cb71869b6e749c5d3cc2c15b3e12c
tree61ed7a99f7eb736633d21aa7407975f54fc94406
parent7475d072247b7e9f66a7d60a032bf5b648d22e51
* dwarf2read.c (REF_HASH_SIZE): Delete.
(struct dwarf2_cu): Replace die_ref_table with die_hash.
(struct die_info): Remove next_ref.
(store_in_ref_table): Remove offset argument.  Rewrite to use
htab_find_slot_with_hash.
(die_hash, die_eq): New.
(read_comp_unit): Allocate the die_hash.
(read_die_and_children): Update call to store_die_ref.
(follow_die_ref): Rewrite to use htab_find_with_hash.
gdb/ChangeLog
gdb/dwarf2read.c