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/dwarf5gcc-gdb: Merge branch 'dwarf5gcc-readelf-gdb-callsite-macro' into dwarf5gcc-readelf-gdb-callsite-macro-data16 Date: Thu, 05 Jan 2017 19:35:00 -0000 [thread overview] Message-ID: <20170105193517.44779.qmail@sourceware.org> (raw) 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 <jan.kratochvil@redhat.com> 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 <jan.kratochvil@redhat.com> 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 <jan.kratochvil@redhat.com> Date: Thu Jan 5 20:34:59 2017 +0100 Merge branch 'dwarf5gcc-readelf-gdb' into dwarf5gcc-readelf-gdb-callsite commit 49affa31624369a1fbcc7411e29451b0e2df2998 Author: Jan Kratochvil <jan.kratochvil@redhat.com> 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.
next reply other threads:[~2017-01-05 19:35 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-01-05 19:35 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2017-01-02 21:49 jkratoch 2016-12-24 20:30 jkratoch 2016-12-17 15:05 jkratoch 2016-11-28 20:20 jkratoch 2016-11-23 23:04 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=20170105193517.44779.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: linkBe 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).