Debugger: Make GDBMI parser more robust

Task-number: QTCREATORBUG-25745
Change-Id: I1a4f89fc72433548d44461c3c7c02bd53708d12d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2021-05-18 07:24:41 +02:00
parent 9156c25c9b
commit 1d9f535c8a
2 changed files with 12 additions and 7 deletions

View File

@@ -131,7 +131,7 @@ public:
QChar current() const { return *from; }
bool isCurrent(QChar c) const { return *from == c; }
bool isAtEnd() const { return from == to; }
bool isAtEnd() const { return from >= to; }
void advance() { ++from; }
void advance(int n) { from += n; }