mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* dwarf2read.c (create_debug_types_hash_table): Set objfile on
type signature's per-CU data.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-07-22 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (create_debug_types_hash_table): Set objfile on
|
||||||
|
type signature's per-CU data.
|
||||||
|
|
||||||
2010-07-22 Pedro Alves <pedro@codesourcery.com>
|
2010-07-22 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* NEWS: Mention target reported shared libraries support by
|
* NEWS: Mention target reported shared libraries support by
|
||||||
|
@ -2678,6 +2678,7 @@ create_debug_types_hash_table (struct objfile *objfile)
|
|||||||
type_sig->signature = signature;
|
type_sig->signature = signature;
|
||||||
type_sig->offset = offset;
|
type_sig->offset = offset;
|
||||||
type_sig->type_offset = type_offset;
|
type_sig->type_offset = type_offset;
|
||||||
|
type_sig->per_cu.objfile = objfile;
|
||||||
|
|
||||||
slot = htab_find_slot (types_htab, type_sig, INSERT);
|
slot = htab_find_slot (types_htab, type_sig, INSERT);
|
||||||
gdb_assert (slot != NULL);
|
gdb_assert (slot != NULL);
|
||||||
|
Reference in New Issue
Block a user