From: Tom Tromey Date: Thu, 22 Jul 2010 15:53:48 +0000 (+0000) Subject: * dwarf2read.c (create_debug_types_hash_table): Set objfile on X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca1f3406ef61d91492b931f459eb6d783dc3679b;p=binutils-gdb.git * dwarf2read.c (create_debug_types_hash_table): Set objfile on type signature's per-CU data. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ce5306289e6..861f5b8743c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-07-22 Tom Tromey + + * dwarf2read.c (create_debug_types_hash_table): Set objfile on + type signature's per-CU data. + 2010-07-22 Pedro Alves * NEWS: Mention target reported shared libraries support by diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 93879645d63..3a24e9ff859 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2678,6 +2678,7 @@ create_debug_types_hash_table (struct objfile *objfile) type_sig->signature = signature; type_sig->offset = offset; type_sig->type_offset = type_offset; + type_sig->per_cu.objfile = objfile; slot = htab_find_slot (types_htab, type_sig, INSERT); gdb_assert (slot != NULL);