Reorganize DebugInterface etc a bit.

KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
This commit is contained in:
Henrik Rydgård committed 2024-12-12 18:54:46 +01:00
1 parent a858032e46
commit 20a17a0e8d
33 files changed
+167 -210

No files matched your search

@@ -74,7 +74,7 @@ struct WebSocketCPUBreakpointParams {
if (hasCondition) {
if (!req.ParamString("condition", &condition))
return false;
if (!currentDebugMIPS->initExpression(condition.c_str(), compiledCondition)) {
if (!initExpression(currentDebugMIPS, condition.c_str(), compiledCondition)) {
req.Fail(StringFromFormat("Could not parse expression syntax: %s", getExpressionError()));
return false;
}
@@ -292,7 +292,7 @@ struct WebSocketMemoryBreakpointParams {
if (hasCondition) {
if (!req.ParamString("condition", &condition))
return false;
if (!currentDebugMIPS->initExpression(condition.c_str(), compiledCondition)) {
if (!initExpression(currentDebugMIPS, condition.c_str(), compiledCondition)) {
req.Fail(StringFromFormat("Could not parse expression syntax: %s", getExpressionError()));
return false;
}