diff options
author | Pedro Franco de Carvalho <pedromfc@linux.ibm.com> | 2018-08-06 16:24:55 -0300 |
---|---|---|
committer | Pedro Franco de Carvalho <pedromfc@linux.ibm.com> | 2018-08-06 16:27:47 -0300 |
commit | 05abfc39c719e740530000059bb963ad33462479 (patch) | |
tree | c2205889ca8dfeec9b48d016d13c4fd4b6843cba /gdb/remote.c | |
parent | 02d7a79e1b93240729a52246432d9a84583bcf82 (diff) | |
download | gdb-05abfc39c719e740530000059bb963ad33462479.zip gdb-05abfc39c719e740530000059bb963ad33462479.tar.gz gdb-05abfc39c719e740530000059bb963ad33462479.tar.bz2 |
Fix indentation in remote_target::download_tracepoint
gdb/ChangeLog:
2018-08-06 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
* remote.c (remote_target::download_tracepoint): Fix indentation
in for block.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 36 |
1 files changed, 18 insertions, 18 deletions
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) { |