Skip to content
GitLab
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
0e398303
Commit
0e398303
authored
Oct 15, 2009
by
Oswald Buddenhagen
Browse files
remove dead code
parent
13675cf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
0e398303
...
...
@@ -261,7 +261,6 @@ void GdbEngine::initializeVariables()
m_commandsDoneCallback
=
0
;
m_commandsToRunOnTemporaryBreak
.
clear
();
m_cookieForToken
.
clear
();
m_customOutputForToken
.
clear
();
m_pendingConsoleStreamOutput
.
clear
();
m_pendingLogStreamOutput
.
clear
();
...
...
@@ -557,11 +556,6 @@ void GdbEngine::handleResponse(const QByteArray &buff)
m_pendingLogStreamOutput
);
response
.
data
.
setStreamOutput
(
"consolestreamoutput"
,
m_pendingConsoleStreamOutput
);
QByteArray
custom
=
m_customOutputForToken
[
token
];
if
(
!
custom
.
isEmpty
())
response
.
data
.
setStreamOutput
(
"customvaluecontents"
,
'{'
+
custom
+
'}'
);
//m_customOutputForToken.remove(token);
m_pendingLogStreamOutput
.
clear
();
m_pendingConsoleStreamOutput
.
clear
();
...
...
@@ -892,14 +886,6 @@ void GdbEngine::handleQuerySources(const GdbResponse &response)
}
}
void
GdbEngine
::
handleInfoShared
(
const
GdbResponse
&
response
)
{
if
(
response
.
resultClass
==
GdbResultDone
)
{
// let the modules handler do the parsing
handleModulesList
(
response
);
}
}
#if 0
void GdbEngine::handleExecJumpToLine(const GdbResponse &response)
{
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
0e398303
...
...
@@ -255,7 +255,6 @@ private slots:
void
handleAdapterShutdownFailed
(
const
QString
&
msg
);
private:
int
terminationIndex
(
const
QByteArray
&
buffer
,
int
&
length
);
void
handleResponse
(
const
QByteArray
&
buff
);
void
handleStopResponse
(
const
GdbMi
&
data
);
void
handleStop1
(
const
GdbResponse
&
response
);
...
...
@@ -265,7 +264,6 @@ private:
void
handleResultRecord
(
const
GdbResponse
&
response
);
void
handleExecContinue
(
const
GdbResponse
&
response
);
// void handleExecRunToFunction(const GdbResponse &response);
void
handleInfoShared
(
const
GdbResponse
&
response
);
void
handleShowVersion
(
const
GdbResponse
&
response
);
void
handleQuerySources
(
const
GdbResponse
&
response
);
void
handleWatchPoint
(
const
GdbResponse
&
response
);
...
...
@@ -288,7 +286,6 @@ private:
QByteArray
m_inbuffer
;
QHash
<
int
,
GdbCommand
>
m_cookieForToken
;
QHash
<
int
,
QByteArray
>
m_customOutputForToken
;
QByteArray
m_pendingConsoleStreamOutput
;
QByteArray
m_pendingLogStreamOutput
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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