From d61714f4d5d72f9f39fbccbb1c3ba5f3d8982020 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 23 Jun 2009 22:39:18 +0000 Subject: - 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 --- src/server/gdb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/gdb_server.c') 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]); -- cgit v1.2.3