From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44828 invoked by alias); 5 Jan 2017 19:35:18 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 44809 invoked by uid 9674); 5 Jan 2017 19:35:17 -0000 Date: Thu, 05 Jan 2017 19:35:00 -0000 Message-ID: <20170105193517.44779.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/dwarf5gcc-gdb: Merge branch 'dwarf5gcc-readelf-gdb-callsite-macro' into dwarf5gcc-readelf-gdb-callsite-macro-data16 X-Git-Refname: refs/heads/users/jkratoch/dwarf5gcc-gdb X-Git-Reftype: branch X-Git-Oldrev: 601adaebc0540031e36be3a36b3c0175508b0e4e X-Git-Newrev: 0d30edbb212f28f2181ae4d4f7d3c5ed5b261e45 X-SW-Source: 2017-q1/txt/msg00005.txt.bz2 List-Id: The branch, users/jkratoch/dwarf5gcc-gdb has been updated via 0d30edbb212f28f2181ae4d4f7d3c5ed5b261e45 (commit) via 077c763047d102d48b126001493bcfcf731cc9bc (commit) via 7eb0ceab3528a117d73afa656d0399a750f751ad (commit) via 49affa31624369a1fbcc7411e29451b0e2df2998 (commit) from 601adaebc0540031e36be3a36b3c0175508b0e4e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 0d30edbb212f28f2181ae4d4f7d3c5ed5b261e45 Merge: 601adae 077c763 Author: Jan Kratochvil Date: Thu Jan 5 20:35:01 2017 +0100 Merge branch 'dwarf5gcc-readelf-gdb-callsite-macro' into dwarf5gcc-readelf-gdb-callsite-macro-data16 commit 077c763047d102d48b126001493bcfcf731cc9bc Merge: 1d047e9 7eb0cea Author: Jan Kratochvil Date: Thu Jan 5 20:35:00 2017 +0100 Merge branch 'dwarf5gcc-readelf-gdb-callsite' into dwarf5gcc-readelf-gdb-callsite-macro commit 7eb0ceab3528a117d73afa656d0399a750f751ad Merge: 0fab21f 49affa3 Author: Jan Kratochvil Date: Thu Jan 5 20:34:59 2017 +0100 Merge branch 'dwarf5gcc-readelf-gdb' into dwarf5gcc-readelf-gdb-callsite commit 49affa31624369a1fbcc7411e29451b0e2df2998 Author: Jan Kratochvil Date: Thu Jan 5 20:34:30 2017 +0100 -O2 -Werror fixes by: Victor Leschuk ----------------------------------------------------------------------- Summary of changes: binutils/dwarf.c | 9 +++++++-- gdb/dwarf2read.c | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) First 500 lines of diff: diff --git a/binutils/dwarf.c b/binutils/dwarf.c index dfc34b5..fa4367a 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -831,7 +831,8 @@ process_abbrev_section (unsigned char *start, unsigned char *end) do { unsigned long form; - bfd_signed_vma implicit_const; + /* Initialize it due to a false compiler warning. */ + bfd_signed_vma implicit_const = -1; attribute = read_uleb128 (start, & bytes_read, end); start += bytes_read; @@ -2490,7 +2491,11 @@ process_debug_info (struct dwarf_section *section, this_set = find_cu_tu_set_v2 (cu_offset, do_types); if (compunit.cu_version < 5) - compunit.cu_unit_type = DW_UT_compile; + { + compunit.cu_unit_type = DW_UT_compile; + /* Initialize it due to a false compiler warning. */ + compunit.cu_pointer_size = -1; + } else { SAFE_BYTE_GET_AND_INC (compunit.cu_unit_type, hdrptr, 1, end); diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index e6a0ba8..9d579c8 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -15669,6 +15669,11 @@ abbrev_table_read_table (struct dwarf2_section_info *section, &bytes_read); abbrev_ptr += bytes_read; } + else + { + /* Initialize it due to a false compiler warning. */ + implicit_const = -1; + } if (abbrev_name == 0) break; hooks/post-receive -- Repository for Project Archer.