From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109886 invoked by alias); 2 Nov 2016 20:53:37 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 109727 invoked by uid 9674); 2 Nov 2016 20:53:37 -0000 Date: Wed, 02 Nov 2016 20:53:00 -0000 Message-ID: <20161102205336.109650.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/dwarf5gcc-gdb: . X-Git-Refname: refs/heads/users/jkratoch/dwarf5gcc-gdb X-Git-Reftype: branch X-Git-Oldrev: f3127892db71eac1c92d554b74e5023cc1ea8bbb X-Git-Newrev: c798ab9a523c411797894d7085f825d69fd5bfc8 X-SW-Source: 2016-q4/txt/msg00005.txt.bz2 List-Id: The branch, users/jkratoch/dwarf5gcc-gdb has been updated via c798ab9a523c411797894d7085f825d69fd5bfc8 (commit) from f3127892db71eac1c92d554b74e5023cc1ea8bbb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit c798ab9a523c411797894d7085f825d69fd5bfc8 Author: Jan Kratochvil Date: Wed Nov 2 21:53:28 2016 +0100 . ----------------------------------------------------------------------- Summary of changes: gdb/dwarf2read.c | 6 ++++-- gdb/xcoffread.c | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) First 500 lines of diff: diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index a13493e..4aed261 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -221,6 +221,7 @@ struct dwarf2_per_objfile struct dwarf2_section_info abbrev; struct dwarf2_section_info line; struct dwarf2_section_info loc; + struct dwarf2_section_info loclists; struct dwarf2_section_info macinfo; struct dwarf2_section_info macro; struct dwarf2_section_info str; @@ -759,6 +760,7 @@ struct dwo_sections struct dwarf2_section_info abbrev; struct dwarf2_section_info line; struct dwarf2_section_info loc; + struct dwarf2_section_info loclists; struct dwarf2_section_info macinfo; struct dwarf2_section_info macro; struct dwarf2_section_info str; @@ -21908,9 +21910,9 @@ cu_debug_loc_section (struct dwarf2_cu *cu) { if (cu->dwo_unit) { - const struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections; + struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections; - return cu->header.version >= 5 ? sections->loclists : sections->loc; + return cu->header.version >= 5 ? §ions->loclists : §ions->loc; } return (cu->header.version >= 5 ? &dwarf2_per_objfile->loclists : &dwarf2_per_objfile->loc); diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 90d0753..1ae83aa 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -159,6 +159,7 @@ static const struct dwarf2_debug_sections dwarf2_xcoff_names = { { ".dwabrev", NULL }, { ".dwline", NULL }, { ".dwloc", NULL }, + { NULL, NULL }, /* debug_loclists */ /* AIX XCOFF defines one, named DWARF section for macro debug information. XLC does not generate debug_macinfo for DWARF4 and below. The section is assigned to debug_macro for DWARF5 and above. */ hooks/post-receive -- Repository for Project Archer.