GdbServer: Breakpoint intergation

This commit is contained in:
Scott Mansell authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:01 +02:00
1 parent 9a89741ff2
commit 2babc1292c
8 files changed
+111 -45

No files matched your search

+5
View File
@@ -21,6 +21,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_SINGLESTEP:
CTX->RunningMode = Config != 0 ? FEXCore::Context::CoreRunningMode::MODE_SINGLESTEP : FEXCore::Context::CoreRunningMode::MODE_RUN;
break;
case FEXCore::Config::CONFIG_GDBSERVER:
Config != 0 ? CTX->StartGdbServer() : CTX->StopGdbServer();
break;
default: LogMan::Msg::A("Unknown configuration option");
}
}
@@ -41,6 +44,8 @@ namespace FEXCore::Config {
break;
case FEXCore::Config::CONFIG_SINGLESTEP:
return CTX->RunningMode == FEXCore::Context::CoreRunningMode::MODE_SINGLESTEP ? 1 : 0;
case FEXCore::Config::CONFIG_GDBSERVER:
return CTX->GetGdbServerStatus();
break;
default: LogMan::Msg::A("Unknown configuration option");
}