This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/15338] Assertion `dwarf2_per_objfile->ranges.readin' failed
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 10 Apr 2013 15:00:24 +0000
- Subject: [Bug gdb/15338] Assertion `dwarf2_per_objfile->ranges.readin' failed
- Auto-submitted: auto-generated
- References: <bug-15338-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15338
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-04-10 15:00:24 UTC ---
Created attachment 6975
--> http://sourceware.org/bugzilla/attachment.cgi?id=6975
patch
Please try this patch.
I didn't try your test case.
However, it seems that we can enter dwarf2_record_block_ranges
without first having called dwarf2_ranges_read, which is
the only spot that maps the section.
Changing dwarf2_record_block_ranges to map the section seems safe...
--
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.