This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15338] Assertion `dwarf2_per_objfile->ranges.readin' failed


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]