mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-20 03:18:51 +00:00
Use API instead of ar-
and aets-
commands (#2980)
This commit is contained in:
parent
a7d3eaffb0
commit
f20b59d8ac
@ -2146,13 +2146,15 @@ void CutterCore::stopDebug()
|
|||||||
currentlyRemoteDebugging = false;
|
currentlyRemoteDebugging = false;
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
|
|
||||||
|
CORE_LOCK();
|
||||||
if (currentlyEmulating) {
|
if (currentlyEmulating) {
|
||||||
cmdEsil("aeim-; aei-");
|
cmdEsil("aeim-; aei-");
|
||||||
resetWriteCache();
|
resetWriteCache();
|
||||||
cmdEsil(".ar-; aets-");
|
rz_core_debug_clear_register_flags(core);
|
||||||
|
rz_core_analysis_esil_trace_stop(core);
|
||||||
currentlyEmulating = false;
|
currentlyEmulating = false;
|
||||||
} else {
|
} else {
|
||||||
rz_core_debug_process_close(core());
|
rz_core_debug_process_close(core);
|
||||||
currentlyAttachedToPID = -1;
|
currentlyAttachedToPID = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user