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
Tobias Hunger
qt-creator
Commits
0acae6f8
Commit
0acae6f8
authored
Feb 24, 2009
by
Oswald Buddenhagen
Browse files
whoops ... amend output receiver rewrite
- remove stale connect() - clear buffer after it was completely used
parent
e00b90cc
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbengine.cpp
View file @
0acae6f8
...
...
@@ -270,8 +270,6 @@ void GdbEngine::initializeConnections()
// Output
connect
(
&
m_outputCollector
,
SIGNAL
(
byteDelivery
(
QByteArray
)),
SLOT
(
readDebugeeOutput
(
QByteArray
)));
connect
(
this
,
SIGNAL
(
gdbResponseAvailable
()),
this
,
SLOT
(
handleResponse
()),
Qt
::
QueuedConnection
);
connect
(
this
,
SIGNAL
(
gdbOutputAvailable
(
QString
,
QString
)),
q
,
SLOT
(
showDebuggerOutput
(
QString
,
QString
)),
...
...
@@ -576,6 +574,7 @@ void GdbEngine::readGdbStandardOutput()
}
handleResponse
(
QByteArray
::
fromRawData
(
m_inbuffer
.
constData
()
+
start
,
end
-
start
));
}
m_inbuffer
.
clear
();
}
void
GdbEngine
::
interruptInferior
()
...
...
Write
Preview
Supports
Markdown
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