aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/gdbmi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/gdbmi.cpp')
-rw-r--r--src/plugins/debugger/gdbmi.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/debugger/gdbmi.cpp b/src/plugins/debugger/gdbmi.cpp
index e2fd7e7a25a..986031765ea 100644
--- a/src/plugins/debugger/gdbmi.cpp
+++ b/src/plugins/debugger/gdbmi.cpp
@@ -52,7 +52,7 @@ void GdbMi::parseResultOrValue(const char *&from, const char *to)
//qDebug() << "parseResultOrValue: " << QByteArray(from, to - from);
parseValue(from, to);
if (isValid()) {
- //qDebug() << "no valid result in " << QByteArray::fromLatin1(from, to - from);
+ //qDebug() << "no valid result in " << QByteArray(from, to - from);
return;
}
if (from == to || *from == '(')
@@ -73,7 +73,7 @@ void GdbMi::parseResultOrValue(const char *&from, const char *to)
QByteArray GdbMi::parseCString(const char *&from, const char *to)
{
QByteArray result;
- //qDebug() << "parseCString: " << QByteArray::fromUtf16(from, to - from);
+ //qDebug() << "parseCString: " << QByteArray(from, to - from);
if (*from != '"') {
qDebug() << "MI Parse Error, double quote expected";
++from; // So we don't hang
@@ -152,7 +152,7 @@ QByteArray GdbMi::parseCString(const char *&from, const char *to)
void GdbMi::parseValue(const char *&from, const char *to)
{
- //qDebug() << "parseValue: " << QByteArray::fromUtf16(from, to - from);
+ //qDebug() << "parseValue: " << QByteArray(from, to - from);
switch (*from) {
case '{':
parseTuple(from, to);
@@ -172,7 +172,7 @@ void GdbMi::parseValue(const char *&from, const char *to)
void GdbMi::parseTuple(const char *&from, const char *to)
{
- //qDebug() << "parseTuple: " << QByteArray::fromUtf16(from, to - from);
+ //qDebug() << "parseTuple: " << QByteArray(from, to - from);
QTC_ASSERT(*from == '{', /**/);
++from;
parseTuple_helper(from, to);
@@ -180,7 +180,7 @@ void GdbMi::parseTuple(const char *&from, const char *to)
void GdbMi::parseTuple_helper(const char *&from, const char *to)
{
- //qDebug() << "parseTuple_helper: " << QByteArray::fromUtf16(from, to - from);
+ //qDebug() << "parseTuple_helper: " << QByteArray(from, to - from);
m_type = Tuple;
while (from < to) {
if (*from == '}') {
@@ -200,7 +200,7 @@ void GdbMi::parseTuple_helper(const char *&from, const char *to)
void GdbMi::parseList(const char *&from, const char *to)
{
- //qDebug() << "parseList: " << QByteArray::fromUtf16(from, to - from);
+ //qDebug() << "parseList: " << QByteArray(from, to - from);
QTC_ASSERT(*from == '[', /**/);
++from;
m_type = List;