mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix highlighting in RIP when restarting emu/debug
This commit is contained in:
parent
94c0f2b5c2
commit
a55147a0f5
@ -787,6 +787,7 @@ void CutterCore::setRegister(QString regName, QString regValue)
|
||||
{
|
||||
cmd("dr " + regName + "=" + regValue);
|
||||
emit registersChanged();
|
||||
emit refreshCodeViews();
|
||||
}
|
||||
|
||||
void CutterCore::startDebug()
|
||||
@ -824,8 +825,8 @@ void CutterCore::startEmulation()
|
||||
currentlyEmulating = true;
|
||||
emit changeDebugView();
|
||||
emit flagsChanged();
|
||||
emit refreshCodeViews();
|
||||
}
|
||||
emit refreshCodeViews();
|
||||
}
|
||||
|
||||
void CutterCore::attachDebug(int pid)
|
||||
@ -842,8 +843,8 @@ void CutterCore::attachDebug(int pid)
|
||||
// prevent register flags from appearing during debug/emul
|
||||
setConfig("asm.flags", false);
|
||||
currentlyDebugging = true;
|
||||
emit changeDebugView();
|
||||
emit flagsChanged();
|
||||
emit changeDebugView();
|
||||
}
|
||||
}
|
||||
|
||||
@ -861,8 +862,8 @@ void CutterCore::stopDebug()
|
||||
setConfig("asm.flags", true);
|
||||
setConfig("io.cache", false);
|
||||
currentlyDebugging = false;
|
||||
emit changeDefinedView();
|
||||
emit flagsChanged();
|
||||
emit changeDefinedView();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user