mirror of https://github.com/stella-emu/stella.git
added two missing debugger save states
This commit is contained in:
parent
07e0d35339
commit
bc0dce8487
|
@ -1817,7 +1817,11 @@ void DebuggerParser::executePalette()
|
||||||
// "pc"
|
// "pc"
|
||||||
void DebuggerParser::executePc()
|
void DebuggerParser::executePc()
|
||||||
{
|
{
|
||||||
|
ostringstream msg;
|
||||||
|
|
||||||
debugger.cpuDebug().setPC(args[0]);
|
debugger.cpuDebug().setPC(args[0]);
|
||||||
|
msg << "Set PC @ " << Base::HEX4 << args[0];
|
||||||
|
debugger.addState(msg.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
@ -2018,9 +2022,15 @@ void DebuggerParser::executeRunToPc()
|
||||||
progress.close();
|
progress.close();
|
||||||
|
|
||||||
if(done)
|
if(done)
|
||||||
|
{
|
||||||
|
ostringstream msg;
|
||||||
|
|
||||||
commandResult
|
commandResult
|
||||||
<< "Set PC to $" << Base::HEX4 << args[0] << " in "
|
<< "Set PC to $" << Base::HEX4 << args[0] << " in "
|
||||||
<< dec << count << " instructions";
|
<< dec << count << " instructions";
|
||||||
|
msg << "RunTo PC @ " << Base::HEX4 << args[0];
|
||||||
|
debugger.addState(msg.str());
|
||||||
|
}
|
||||||
else
|
else
|
||||||
commandResult
|
commandResult
|
||||||
<< "PC $" << Base::HEX4 << args[0] << " not reached or found in "
|
<< "PC $" << Base::HEX4 << args[0] << " not reached or found in "
|
||||||
|
|
Loading…
Reference in New Issue