public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  users/jkratoch/indexcxx-nameswrite-namesread: .
Date: Wed, 24 May 2017 08:46:00 -0000	[thread overview]
Message-ID: <20170524084621.18822.qmail@sourceware.org> (raw)

The branch, users/jkratoch/indexcxx-nameswrite-namesread has been updated
       via  cdc35f2b9e6cfe316be27a637cbcea17faa802a1 (commit)
       via  ddcf6f7a9870e33b8808b65634d6d23fbee99566 (commit)
      from  115acb62c076b103ba79e71e10a78146996733e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit cdc35f2b9e6cfe316be27a637cbcea17faa802a1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 24 10:43:27 2017 +0200

    .

commit ddcf6f7a9870e33b8808b65634d6d23fbee99566
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 24 10:39:03 2017 +0200

    .

-----------------------------------------------------------------------

Summary of changes:
 gdb/dwarf2read.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 6b215bc..3c7c529 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4863,14 +4863,23 @@ dw2_find_pc_sect_compunit_symtab (struct objfile *objfile,
   if (!data)
     return NULL;
 
+  bool warned (false);
   if (warn_if_readin && data->v.quick->compunit_symtab)
-    warning (_("(Internal error: pc %s in read in CU, but not in symtab.)"),
-	     paddress (get_objfile_arch (objfile), pc));
+    {
+      warning (_("(Internal error: pc %s in read in CU, but not in symtab.)"),
+	       paddress (get_objfile_arch (objfile), pc));
+      warned = true;
+    }
 
   result
     = recursively_find_pc_sect_compunit_symtab (dw2_instantiate_symtab (data),
 						pc);
-  gdb_assert (result != NULL);
+  if (result == NULL && !warned)
+    complaint (&symfile_complaints,
+	       _("Wrong .debug_aranges for PC %s [in module %s]"),
+	       paddress (get_objfile_arch (objfile), pc),
+	       objfile_name (dwarf2_per_objfile->objfile));
+
   return result;
 }
 


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2017-05-24  8:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24  8:46 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-22 21:41 jkratoch
2017-04-30 18:28 jkratoch
2017-04-29 22:28 jkratoch
2017-04-23 20:23 jkratoch

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=20170524084621.18822.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@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).