This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb: Fix build failure with GCC 7
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 09 Aug 2017 09:18:06 -0400
- Subject: [binutils-gdb] gdb: Fix build failure with GCC 7
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b33404388e5bbd8a1fddfde73cd4593ae2b557e8 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: b33404388e5bbd8a1fddfde73cd4593ae2b557e8
gdb: Fix build failure with GCC 7
Fix:
/export/gnu/import/git/sources/binutils-gdb/gdb/dwarf2read.c: In function const char* dwarf2_string_attr(die_info*, unsigned int, dwarf2_cu*):
/export/gnu/import/git/sources/binutils-gdb/gdb/dwarf2read.c:17626:39: error: enum constant in boolean context [-Werror=int-in-bool-context]
|| attr->form == DW_FORM_string || DW_FORM_GNU_str_index
* dwarf2read.c (dwarf2_string_attr): Fix a typo.