diff options
Diffstat (limited to 'lib/unwarminder/unwarm_thumb.c')
-rw-r--r-- | lib/unwarminder/unwarm_thumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unwarminder/unwarm_thumb.c b/lib/unwarminder/unwarm_thumb.c index 027d951f33..b71d9732b1 100644 --- a/lib/unwarminder/unwarm_thumb.c +++ b/lib/unwarminder/unwarm_thumb.c | |||
@@ -244,7 +244,7 @@ UnwResult UnwStartThumb(UnwState * const state) | |||
244 | case 3: /* SUB */ | 244 | case 3: /* SUB */ |
245 | UnwPrintd5("SUB r%d, #0x%d\t; r%d %s", | 245 | UnwPrintd5("SUB r%d, #0x%d\t; r%d %s", |
246 | rd, offset8, rd, M_Origin2Str(state->regData[rd].o)); | 246 | rd, offset8, rd, M_Origin2Str(state->regData[rd].o)); |
247 | state->regData[rd].v += offset8; | 247 | state->regData[rd].v -= offset8; |
248 | state->regData[rd].o |= REG_VAL_ARITHMETIC; | 248 | state->regData[rd].o |= REG_VAL_ARITHMETIC; |
249 | break; | 249 | break; |
250 | } | 250 | } |