diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a872f1b..fafa10c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-02-27 Simon Marchi <simon.marchi@ericsson.com> + * remote.c (remote_add_target_side_condition): Remove "struct" + keyword from range-based for loop. + +2017-02-27 Simon Marchi <simon.marchi@ericsson.com> + * remote.c (remote_add_target_side_condition): Use range-based for loop. Update comment. diff --git a/gdb/remote.c b/gdb/remote.c index aedbd08..5da8319 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -9665,7 +9665,7 @@ remote_add_target_side_condition (struct gdbarch *gdbarch, buf++; /* Send conditions to the target. */ - for (struct agent_expr *aexpr : bp_tgt->conditions) + for (agent_expr *aexpr : bp_tgt->conditions) { xsnprintf (buf, buf_end - buf, "X%x,", aexpr->len); buf += strlen (buf); |