From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18933 invoked by alias); 24 May 2017 08:46:27 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 18851 invoked by uid 9674); 24 May 2017 08:46:21 -0000 Date: Wed, 24 May 2017 08:46:00 -0000 Message-ID: <20170524084621.18822.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/indexcxx-nameswrite-namesread: . X-Git-Refname: refs/heads/users/jkratoch/indexcxx-nameswrite-namesread X-Git-Reftype: branch X-Git-Oldrev: 115acb62c076b103ba79e71e10a78146996733e9 X-Git-Newrev: cdc35f2b9e6cfe316be27a637cbcea17faa802a1 X-SW-Source: 2017-q2/txt/msg00035.txt.bz2 List-Id: 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 Date: Wed May 24 10:43:27 2017 +0200 . commit ddcf6f7a9870e33b8808b65634d6d23fbee99566 Author: Jan Kratochvil 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.