aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-infthread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-06-20 12:40:54 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-06-20 12:40:54 -0400
commit19f3f25f370fbf7f5c2aa12a909d57f6e38ee2da (patch)
tree52d18a06308d12c307724023fb1641fd250cb4b2 /gdb/python/py-infthread.c
parent6077de0645ce12a9c4e99f8839a846b42a535b0a (diff)
downloadbinutils-19f3f25f370fbf7f5c2aa12a909d57f6e38ee2da.zip
binutils-19f3f25f370fbf7f5c2aa12a909d57f6e38ee2da.tar.gz
binutils-19f3f25f370fbf7f5c2aa12a909d57f6e38ee2da.tar.bz2
Remove struct keyword in range-based for-loop
Fix this with gcc 6.3.0, and make the loop variable const while at it: /home/simark/src/binutils-gdb/gdb/record-full.c: In member function 'virtual int record_full_target::insert_breakpoint(gdbarch*, bp_target_info*)': /home/simark/src/binutils-gdb/gdb/record-full.c:1789:8: error: types may not be defined in a for-range-declaration [-Werror] for (struct record_full_breakpoint &bp : record_full_breakpoints) gdb/ChangeLog: * record-full.c (record_full_target::insert_breakpoint): Remove "struct" keyword, add const.
Diffstat (limited to 'gdb/python/py-infthread.c')
0 files changed, 0 insertions, 0 deletions