mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16: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);
|
cmd("dr " + regName + "=" + regValue);
|
||||||
emit registersChanged();
|
emit registersChanged();
|
||||||
|
emit refreshCodeViews();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CutterCore::startDebug()
|
void CutterCore::startDebug()
|
||||||
@ -824,8 +825,8 @@ void CutterCore::startEmulation()
|
|||||||
currentlyEmulating = true;
|
currentlyEmulating = true;
|
||||||
emit changeDebugView();
|
emit changeDebugView();
|
||||||
emit flagsChanged();
|
emit flagsChanged();
|
||||||
emit refreshCodeViews();
|
|
||||||
}
|
}
|
||||||
|
emit refreshCodeViews();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CutterCore::attachDebug(int pid)
|
void CutterCore::attachDebug(int pid)
|
||||||
@ -842,8 +843,8 @@ void CutterCore::attachDebug(int pid)
|
|||||||
// prevent register flags from appearing during debug/emul
|
// prevent register flags from appearing during debug/emul
|
||||||
setConfig("asm.flags", false);
|
setConfig("asm.flags", false);
|
||||||
currentlyDebugging = true;
|
currentlyDebugging = true;
|
||||||
emit changeDebugView();
|
|
||||||
emit flagsChanged();
|
emit flagsChanged();
|
||||||
|
emit changeDebugView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -861,8 +862,8 @@ void CutterCore::stopDebug()
|
|||||||
setConfig("asm.flags", true);
|
setConfig("asm.flags", true);
|
||||||
setConfig("io.cache", false);
|
setConfig("io.cache", false);
|
||||||
currentlyDebugging = false;
|
currentlyDebugging = false;
|
||||||
emit changeDefinedView();
|
|
||||||
emit flagsChanged();
|
emit flagsChanged();
|
||||||
|
emit changeDefinedView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user