diff options
Diffstat (limited to 'bin/gdbmacros/gdbmacros.cpp')
-rw-r--r-- | bin/gdbmacros/gdbmacros.cpp | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/bin/gdbmacros/gdbmacros.cpp b/bin/gdbmacros/gdbmacros.cpp index 693830b077..a1b4e5afb8 100644 --- a/bin/gdbmacros/gdbmacros.cpp +++ b/bin/gdbmacros/gdbmacros.cpp @@ -2439,34 +2439,7 @@ void qDumpObjectData440( int extraInt2, int extraInt3) { - if (protocolVersion == -2) { - // close socket - QDumper d; - d.protocolVersion = protocolVersion; - d.token = token; - d.flush(); - d.disarm(); - } - - else if (protocolVersion == -1) { - // finalize Startup - QDumper d; - d.protocolVersion = protocolVersion; - d.token = token; - d.disarm(); - } - - else if (protocolVersion == 0) { - QDumper d; - d.protocolVersion = protocolVersion; - d.token = token; - // used to test whether error output gets through - //fprintf(stderr, "using stderr, qDebug follows: %d\n", token); - //qDebug() << "using qDebug, stderr already used: " << token; - d.disarm(); - } - - else if (protocolVersion == 1) { + if (protocolVersion == 1) { QDumper d; d.protocolVersion = protocolVersion; d.token = token; |