summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/remote.c b/remote.c
index 7cc7344..f18baa8 100644
--- a/remote.c
+++ b/remote.c
@@ -373,10 +373,11 @@ gdb_remote_exec (char *buf)
{
cptr = &buf[6];
mptr = membuf;
- while (*cptr != '#') {
- *mptr = hex (*cptr++) << 4;
- *mptr++ |= hex (*cptr++);
- }
+ while (*cptr != '#')
+ {
+ *mptr = hex (*cptr++) << 4;
+ *mptr++ |= hex (*cptr++);
+ }
*mptr = 0;
exec_cmd (membuf);
strcpy (txbuf, "OK");