public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/15338] Assertion `dwarf2_per_objfile->ranges.readin' failed
Date: Wed, 10 Apr 2013 15:00:00 -0000	[thread overview]
Message-ID: <bug-15338-4717-k6gOr9HeI8@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15338-4717@http.sourceware.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.


  reply	other threads:[~2013-04-10 15:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04  8:44 [Bug gdb/15338] New: " fakju666 at o2 dot pl
2013-04-10 15:00 ` tromey at redhat dot com [this message]
2013-04-10 17:02 ` [Bug gdb/15338] " fakju666 at o2 dot pl
2013-04-15 19:54 ` tromey at redhat dot com
2013-04-15 21:37 ` fakju666 at o2 dot pl
2013-05-13 16:57 ` tromey at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-15338-4717-k6gOr9HeI8@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).