Browse Source

Fix unwarm regData index

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
ef74ca60c0
  1. 2
      Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp

2
Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp

@ -807,7 +807,7 @@ UnwResult UnwStartThumb(UnwState * const state) {
case 2: /* MOV */ case 2: /* MOV */
UnwPrintd5("MOV r%d, r%d\t; r%d %s", rhd, rhs, rhd, M_Origin2Str(state->regData[rhs].o)); UnwPrintd5("MOV r%d, r%d\t; r%d %s", rhd, rhs, rhd, M_Origin2Str(state->regData[rhs].o));
state->regData[rhd].v = state->regData[rhs].v; state->regData[rhd].v = state->regData[rhs].v;
state->regData[rhd].o = state->regData[rhd].o; state->regData[rhd].o = state->regData[rhs].o;
break; break;
case 3: /* BX */ case 3: /* BX */

Loading…
Cancel
Save