diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-22 15:53:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-22 15:53:48 +0000 |
commit | ca1f3406ef61d91492b931f459eb6d783dc3679b (patch) | |
tree | 7df6e597e415c1f3ee276bc99ee84358355d597b /gdb/dwarf2read.c | |
parent | 21fd2dbd9c97e24d8de650f0350a249d737d7852 (diff) | |
download | gdb-ca1f3406ef61d91492b931f459eb6d783dc3679b.zip gdb-ca1f3406ef61d91492b931f459eb6d783dc3679b.tar.gz gdb-ca1f3406ef61d91492b931f459eb6d783dc3679b.tar.bz2 |
* dwarf2read.c (create_debug_types_hash_table): Set objfile on
type signature's per-CU data.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9387964..3a24e9ff 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); |