mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 19:08:50 +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;
|
||||
emit debugTaskStateChanged();
|
||||
|
||||
CORE_LOCK();
|
||||
if (currentlyEmulating) {
|
||||
cmdEsil("aeim-; aei-");
|
||||
resetWriteCache();
|
||||
cmdEsil(".ar-; aets-");
|
||||
rz_core_debug_clear_register_flags(core);
|
||||
rz_core_analysis_esil_trace_stop(core);
|
||||
currentlyEmulating = false;
|
||||
} else {
|
||||
rz_core_debug_process_close(core());
|
||||
rz_core_debug_process_close(core);
|
||||
currentlyAttachedToPID = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user