Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
ccf4fe9a
Commit
ccf4fe9a
authored
Oct 05, 2009
by
Oswald Buddenhagen
Browse files
use gdb's target stream output
at least in theory, this is the output of a remote debuggee
parent
c951e5b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
ccf4fe9a
...
...
@@ -284,7 +284,6 @@ void GdbEngine::initializeVariables()
m_customOutputForToken
.
clear
();
m_pendingConsoleStreamOutput
.
clear
();
m_pendingTargetStreamOutput
.
clear
();
m_pendingLogStreamOutput
.
clear
();
m_inbuffer
.
clear
();
...
...
@@ -514,8 +513,7 @@ void GdbEngine::handleResponse(const QByteArray &buff)
}
case
'@'
:
{
QByteArray
data
=
GdbMi
::
parseCString
(
from
,
to
);
m_pendingTargetStreamOutput
+=
data
;
readDebugeeOutput
(
GdbMi
::
parseCString
(
from
,
to
));
break
;
}
...
...
@@ -570,12 +568,9 @@ void GdbEngine::handleResponse(const QByteArray &buff)
}
//qDebug() << "\nLOG STREAM:" + m_pendingLogStreamOutput;
//qDebug() << "\nTARGET STREAM:" + m_pendingTargetStreamOutput;
//qDebug() << "\nCONSOLE STREAM:" + m_pendingConsoleStreamOutput;
response
.
data
.
setStreamOutput
(
"logstreamoutput"
,
m_pendingLogStreamOutput
);
response
.
data
.
setStreamOutput
(
"targetstreamoutput"
,
m_pendingTargetStreamOutput
);
response
.
data
.
setStreamOutput
(
"consolestreamoutput"
,
m_pendingConsoleStreamOutput
);
QByteArray
custom
=
m_customOutputForToken
[
token
];
...
...
@@ -584,7 +579,6 @@ void GdbEngine::handleResponse(const QByteArray &buff)
'{'
+
custom
+
'}'
);
//m_customOutputForToken.remove(token);
m_pendingLogStreamOutput
.
clear
();
m_pendingTargetStreamOutput
.
clear
();
m_pendingConsoleStreamOutput
.
clear
();
handleResultRecord
(
response
);
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
ccf4fe9a
...
...
@@ -287,7 +287,6 @@ private:
QHash
<
int
,
QByteArray
>
m_customOutputForToken
;
QByteArray
m_pendingConsoleStreamOutput
;
QByteArray
m_pendingTargetStreamOutput
;
QByteArray
m_pendingLogStreamOutput
;
// contains the first token number for the current round
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment