mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Reorganize DebugInterface etc a bit.
KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
This commit is contained in:
1 parent
a858032e46
commit
20a17a0e8d
33 files changed
+167
-210
No files matched your search
@@ -336,8 +336,8 @@ void ImStructViewer::DrawWatch() {
|
||||
if (!watch.expression.empty()) {
|
||||
u32 val;
|
||||
PostfixExpression postfix;
|
||||
if (mipsDebug_->initExpression(watch.expression.c_str(), postfix)
|
||||
&& mipsDebug_->parseExpression(postfix, val)) {
|
||||
if (initExpression(mipsDebug_, watch.expression.c_str(), postfix)
|
||||
&& parseExpression(mipsDebug_, postfix, val)) {
|
||||
address = val;
|
||||
}
|
||||
} else {
|
||||
@@ -394,8 +394,8 @@ void ImStructViewer::DrawNewWatchEntry() {
|
||||
PostfixExpression postfix;
|
||||
if (newWatch_.typePathName.empty()) {
|
||||
newWatch_.error = "type can't be empty";
|
||||
} else if (!mipsDebug_->initExpression(newWatch_.expression, postfix)
|
||||
|| !mipsDebug_->parseExpression(postfix, val)) {
|
||||
} else if (!initExpression(mipsDebug_, newWatch_.expression, postfix)
|
||||
|| !parseExpression(mipsDebug_, postfix, val)) {
|
||||
newWatch_.error = "invalid expression";
|
||||
} else {
|
||||
std::string watchName = newWatch_.name;
|
||||
|
||||
Reference in new issue
Block a user