Skip to content

Commit

Permalink
minor fix: (gdb) prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
royqh1979 committed Dec 28, 2024
1 parent f13ae94 commit ad5fd04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RedPandaIDE/debugger/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ void Debugger::syncFinishedParsing()
for (const QString& line:mClient->consoleOutput()) {
pMainWindow->addDebugOutput(line);
}
//pMainWindow->addDebugOutput("(gdb)");
pMainWindow->addDebugOutput("(gdb)");
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions RedPandaIDE/debugger/gdbmidebugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,9 +928,9 @@ void GDBMIDebuggerClient::processDebugOutput(const QByteArray& debugOutput)
case '+': // status async output
case '=': // notify async output
break;
case '(':
if (line.startsWith("(gdb)"))
mConsoleOutput.append(line);
case '(': // Prompt (gdb)
// if (line.startsWith("(gdb)"))
// mConsoleOutput.append(line);
break;
}
}
Expand Down

0 comments on commit ad5fd04

Please sign in to comment.