aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:39:18 +0000
commitd61714f4d5d72f9f39fbccbb1c3ba5f3d8982020 (patch)
tree9da1225902da0c661ac9880f17c30d753d99bc17 /src/server
parent53d605e12c3765aeedabf2bfe0c5cc338dc95d5a (diff)
- Fixes '[+]=' whitespace
- Replace '\(\w\)\([+]=\)(' with '\1 \2 ('. - Replace '\(\w\)\([+]=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2364 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index a13f215f..e6a1ce55 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -923,7 +923,7 @@ void gdb_target_to_reg(target_t *target, char *tstr, int str_len, uint8_t *bin)
}
int i;
- for (i = 0; i < str_len; i+=2)
+ for (i = 0; i < str_len; i += 2)
{
uint8_t t = hextoint(tstr[i])<<4;
t |= hextoint(tstr[i+1]);