Fixed Seer working with 'avr-gdb'. Can use 'simavr' as a gdbserver.

This commit is contained in:
Ernie Pasveer
2024-01-02 16:26:49 -06:00
parent add955215d
commit 00e5b71dcc
37 changed files with 29256 additions and 13 deletions
+4 -8
View File
@@ -86,14 +86,10 @@ void SeerGdbLogWidget::processText (const QString& text) {
str = text;
}
// Filter escape characters.
str = Seer::filterEscapes(str);
// Remove trailing "\n"
while (str.back() == '\n') {
str.chop(1);
break;
}
// Filter out \n and \t.
// Should probably do something better and expand them.
str.replace("\\t", "");
str.replace("\\n", "");
// Write the string to the log.
textEdit->append(str);