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
68c0ee28
Commit
68c0ee28
authored
May 05, 2010
by
hjk
Browse files
debugger: remove some #ifdef Q_OS_*
parent
46fa3aa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
68c0ee28
...
...
@@ -1266,6 +1266,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
}
#endif
// FIXME: Replace the #ifdef by the "target" architecture
#ifdef Q_OS_LINUX
if
(
!
m_entryPoint
.
isEmpty
())
{
GdbMi
frameData
=
data
.
findChild
(
"frame"
);
...
...
@@ -1463,7 +1464,6 @@ void GdbEngine::handleStop1(const GdbMi &data)
manager
()
->
reloadRegisters
();
}
#ifdef Q_OS_LINUX
void
GdbEngine
::
handleInfoProc
(
const
GdbResponse
&
response
)
{
if
(
response
.
resultClass
==
GdbResultDone
)
{
...
...
@@ -1473,7 +1473,6 @@ void GdbEngine::handleInfoProc(const GdbResponse &response)
maybeHandleInferiorPidChanged
(
re
.
cap
(
1
));
}
}
#endif
void
GdbEngine
::
handleShowVersion
(
const
GdbResponse
&
response
)
{
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
68c0ee28
...
...
@@ -321,11 +321,8 @@ private: ////////// Inferior Management //////////
qint64
inferiorPid
()
const
{
return
m_manager
->
inferiorPid
();
}
void
handleInferiorPidChanged
(
qint64
pid
)
{
manager
()
->
notifyInferiorPidChanged
(
pid
);
}
void
maybeHandleInferiorPidChanged
(
const
QString
&
pid
);
#ifdef Q_OS_LINUX
void
handleInfoProc
(
const
GdbResponse
&
response
);
#endif
QByteArray
m_entryPoint
;
QFutureInterface
<
void
>
*
m_progress
;
...
...
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