public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/11942] Duplicate type_hash when reloading debug info of dwarf4 signatured types.
[not found] <bug-11942-4717@http.sourceware.org/bugzilla/>
@ 2012-05-02 0:38 ` dje at google dot com
0 siblings, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2012-05-02 0:38 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=11942
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2010-08-25 00:09:39 UTC ---
Subject: Bug 11942
CVSROOT: /cvs/src
Module name: src
Changes by: devans@sourceware.org 2010-08-25 00:09:14
Modified files:
gdb : ChangeLog dwarf2read.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.dwarf2: dw4-sig-types-b.cc dw4-sig-types.cc
dw4-sig-types.exp dw4-sig-types.h
Log message:
PR symtab/11942
* dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash,
debug_types_type_hash.
(dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash.
All uses updated.
(lookup_die_type): Renamed from tag_type_to_tag. First look in
appropriate type_hash table. All callers updated.
(allocate_signatured_type_table): Renamed from
allocate_signatured_type_hash_table. All callers updated.
(create_signatured_type_table_from_index): Renamed from
create_signatured_type_hash_from_index. All callers updated.
(read_die_type): Add comment. Move actual reading to ...
(read_die_type_1): ... here. New function.
(follow_die_ref_or_sig): Tweak comment.
(set_die_type): Rewrite to use appropriate choice of
debug_info_type_hash or debug_types_type_hash.
(get_die_type_at_offset): New function.
(get_die_type): Call it.
testsuite/
PR symtab/11942
* gdb.dwarf2/dw4-sig-types.cc: New file.
* gdb.dwarf2/dw4-sig-types.h: New file.
* gdb.dwarf2/dw4-sig-types-b.cc: New file.
* gdb.dwarf2/dw4-sig-types.exp: New file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12114&r2=1.12115
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.441&r2=1.442
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2428&r2=1.2429
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw4-sig-types-b.cc.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw4-sig-types.cc.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/dw4-sig-types.h.diff?cvsroot=src&r1=NONE&r2=1.1
--- Comment #4 from dje at google dot com 2012-05-02 00:37:47 UTC ---
Fixed in referenced patch.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/11942] Duplicate type_hash when reloading debug info of dwarf4 signatured types.
2010-08-23 21:18 [Bug symtab/11942] New: " dje at google dot com
2010-08-23 21:19 ` [Bug symtab/11942] " dje at google dot com
@ 2010-08-23 21:20 ` dje at google dot com
1 sibling, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2010-08-23 21:20 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From dje at google dot com 2010-08-23 21:20 -------
Forgot to enter gdb version. 7.2.50.20100823-cvs
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11942
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/11942] Duplicate type_hash when reloading debug info of dwarf4 signatured types.
2010-08-23 21:18 [Bug symtab/11942] New: " dje at google dot com
@ 2010-08-23 21:19 ` dje at google dot com
2010-08-23 21:20 ` dje at google dot com
1 sibling, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2010-08-23 21:19 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From dje at google dot com 2010-08-23 21:19 -------
Created an attachment (id=4948)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4948&action=view)
test case
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11942
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-02 0:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-11942-4717@http.sourceware.org/bugzilla/>
2012-05-02 0:38 ` [Bug symtab/11942] Duplicate type_hash when reloading debug info of dwarf4 signatured types dje at google dot com
2010-08-23 21:18 [Bug symtab/11942] New: " dje at google dot com
2010-08-23 21:19 ` [Bug symtab/11942] " dje at google dot com
2010-08-23 21:20 ` dje at google dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).