aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2017-02-26 16:54:51 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2017-02-26 16:54:51 +0100
commita49dd8dd482da6a8131752f8312a06aa6599063c (patch)
tree531634f13d9edb744b469e2795dce8319b69474b /gdb/remote.c
parent152e1e1bc90030cec9ce8318ab982675b1e90a00 (diff)
downloadgdb-a49dd8dd482da6a8131752f8312a06aa6599063c.zip
gdb-a49dd8dd482da6a8131752f8312a06aa6599063c.tar.gz
gdb-a49dd8dd482da6a8131752f8312a06aa6599063c.tar.bz2
DWARF-5: Initialization due to a false compiler warning
gcc-6.3.1-1.fc25.x86_64 dwarf2read.c: In function ‘void create_debug_type_hash_table(dwo_file*, dwarf2_section_info*, htab*&, rcuh_kind)’: dwarf2read.c:4776:32: error: ‘header.comp_unit_head::type_offset_in_tu.cu_offset::cu_off’ may be used uninitialized in this function [-Werror=maybe-uninitialized] dwarf2read.c:4816:21: error: ‘header.comp_unit_head::signature’ may be used uninitialized in this function [-Werror=maybe-uninitialized] cc1plus: all warnings being treated as errors gdb/ChangeLog 2017-02-26 Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2read.c (create_debug_type_hash_table): Initialize header.signature and header.type_offset_in_tu.
Diffstat (limited to 'gdb/remote.c')
0 files changed, 0 insertions, 0 deletions