- 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
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user