Revert "Try saving the halted state when examining a target"
This reverts commit f1e8dee522
.
This commit is contained in:
parent
2ec501a8b3
commit
395592ece3
|
@ -692,11 +692,7 @@ static int riscv_examine(struct target *target)
|
||||||
if (result != ERROR_OK)
|
if (result != ERROR_OK)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
int result = tt->examine(target);
|
return tt->examine(target);
|
||||||
if (result != ERROR_OK)
|
|
||||||
return result;
|
|
||||||
|
|
||||||
target->state = riscv_is_halted(target) ? TARGET_HALTED : TARGET_RUNNING;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int oldriscv_poll(struct target *target)
|
static int oldriscv_poll(struct target *target)
|
||||||
|
|
Loading…
Reference in New Issue