aboutsummaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-11-21 15:59:42 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-11-21 16:38:08 +0000
commitb6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771 (patch)
treeda9d5de682782dbbc53c9eede460980f4cdfc0c3 /config.sub
parent3fff9862d5229def9318912c2de64a03dab74532 (diff)
downloadgdb-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.zip
gdb-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.tar.gz
gdb-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.tar.bz2
BFD/DWARF2: Correct an `index' global shadowing error
Fix a commit 089e3718bd8d ("Greatly improve the speed if looking up DWARF line number information.") build regression: cc1: warnings being treated as errors .../bfd/dwarf2.c: In function 'build_line_info_table': .../bfd/dwarf2.c:1614: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here .../bfd/dwarf2.c: In function 'build_lookup_funcinfo_table': .../bfd/dwarf2.c:2262: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here make[4]: *** [dwarf2.lo] Error 1 in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command line options used when compiling the binutils."). bfd/ * dwarf2.c (build_line_info_table): Rename `index' local variable to `line_index'. (build_lookup_funcinfo_table): Rename `index' local variable to `func_index'.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions