From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108733 invoked by alias); 18 Dec 2016 21:32:27 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 108710 invoked by uid 9674); 18 Dec 2016 21:32:27 -0000 Date: Sun, 18 Dec 2016 21:32:00 -0000 Message-ID: <20161218213227.108683.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/indexcxx-debugnames: . X-Git-Refname: refs/heads/users/jkratoch/indexcxx-debugnames X-Git-Reftype: branch X-Git-Oldrev: 5b9b7363108590e45ae268ae22bb30928c57301f X-Git-Newrev: beb8d139656c09fa114ac088594124fa06450cb8 X-SW-Source: 2016-q4/txt/msg00039.txt.bz2 List-Id: The branch, users/jkratoch/indexcxx-debugnames has been updated via beb8d139656c09fa114ac088594124fa06450cb8 (commit) from 5b9b7363108590e45ae268ae22bb30928c57301f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit beb8d139656c09fa114ac088594124fa06450cb8 Author: Jan Kratochvil Date: Sun Dec 18 22:31:26 2016 +0100 . ----------------------------------------------------------------------- Summary of changes: gdb/dwarf2read.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) First 500 lines of diff: diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 1863863..0ea33ec 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -23223,9 +23223,11 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir, bool is_dwarf per_cu->offset.sect_off); } - /* Dump the address map. */ + /* Dump the address map. + DWARF-5 uses .debug_aranges genereated by GCC. */ DataBuf addr_vec; - write_address_map (objfile, addr_vec, cu_index_htab); + if (!is_dwarf5) + write_address_map (objfile, addr_vec, cu_index_htab); /* Write out the .debug_type entries, if any. */ DataBuf types_cu_list; @@ -23360,7 +23362,6 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir, bool is_dwarf header.file_write (out_file); cu_list.file_write (out_file); types_cu_list.file_write (out_file); - //addr_vec.file_write (out_file); //symtab_vec.file_write (out_file); //constant_pool.file_write (out_file); hooks/post-receive -- Repository for Project Archer.