debugger: cleanup

This commit is contained in:
hjk
2011-04-08 15:38:50 +02:00
parent e7441dab12
commit 63ebdb3623
4 changed files with 45 additions and 77 deletions

View File

@@ -329,6 +329,12 @@ void GdbEngine::readDebugeeOutput(const QByteArray &data)
showMessage(msg, AppOutput);
}
static bool isNameChar(char c)
{
// could be 'stopped' or 'shlibs-added'
return (c >= 'a' && c <= 'z') || c == '-';
}
void GdbEngine::handleResponse(const QByteArray &buff)
{
showMessage(QString::fromLocal8Bit(buff, buff.length()), LogOutput);