From: Pedro Franco de Carvalho Date: Mon, 6 Aug 2018 19:24:55 +0000 (-0300) Subject: Fix indentation in remote_target::download_tracepoint X-Git-Tag: users/ARM/embedded-binutils-master-2018q4~1162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05abfc39c719e740530000059bb963ad33462479;p=external%2Fbinutils.git Fix indentation in remote_target::download_tracepoint gdb/ChangeLog: 2018-08-06 Pedro Franco de Carvalho * remote.c (remote_target::download_tracepoint): Fix indentation in for block. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 55930d0..fda8d5f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-08-06 Pedro Franco de Carvalho + + * remote.c (remote_target::download_tracepoint): Fix indentation + in for block. + 2018-08-06 Rainer Orth * proc-api.c (_initialize_proc_api): Remove c, unused. diff --git a/gdb/remote.c b/gdb/remote.c index a61680d..088efaa 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -12945,24 +12945,24 @@ remote_target::download_tracepoint (struct bp_location *loc) error (_("Error on target while setting tracepoints.")); } - for (auto action_it = stepping_actions.begin (); - action_it != stepping_actions.end (); action_it++) - { - QUIT; /* Allow user to bail out with ^C. */ - - bool is_first = action_it == stepping_actions.begin (); - bool has_more = action_it != stepping_actions.end (); - - xsnprintf (buf, BUF_SIZE, "QTDP:-%x:%s:%s%s%s", - b->number, addrbuf, /* address */ - is_first ? "S" : "", - action_it->c_str (), - has_more ? "-" : ""); - putpkt (buf); - remote_get_noisy_reply (); - if (strcmp (rs->buf, "OK")) - error (_("Error on target while setting tracepoints.")); - } + for (auto action_it = stepping_actions.begin (); + action_it != stepping_actions.end (); action_it++) + { + QUIT; /* Allow user to bail out with ^C. */ + + bool is_first = action_it == stepping_actions.begin (); + bool has_more = action_it != stepping_actions.end (); + + xsnprintf (buf, BUF_SIZE, "QTDP:-%x:%s:%s%s%s", + b->number, addrbuf, /* address */ + is_first ? "S" : "", + action_it->c_str (), + has_more ? "-" : ""); + putpkt (buf); + remote_get_noisy_reply (); + if (strcmp (rs->buf, "OK")) + error (_("Error on target while setting tracepoints.")); + } if (packet_support (PACKET_TracepointSource) == PACKET_ENABLE) {