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
68f916b7
Commit
68f916b7
authored
Mar 26, 2010
by
hjk
Browse files
debugger: replace a compile time check for Mac by a runtime check for Apple's gdb
parent
1883baa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
68f916b7
...
...
@@ -465,19 +465,17 @@ void GdbEngine::handleResponse(const QByteArray &buff)
QByteArray
id
=
result
.
findChild
(
"id"
).
data
();
showStatusMessage
(
tr
(
"Thread %1 selected"
).
arg
(
_
(
id
)),
1000
);
//"{id="2"}"
#if defined(Q_OS_MAC)
}
else
if
(
asyncClass
==
"shlibs-updated"
)
{
// MAC announces updated libs
}
else
if
(
m_isMacGdb
&&
asyncClass
==
"shlibs-updated"
)
{
// Apple's gdb announces updated libs.
invalidateSourcesList
();
}
else
if
(
asyncClass
==
"shlibs-added"
)
{
//
MAC
announces added libs
}
else
if
(
m_isMacGdb
&&
asyncClass
==
"shlibs-added"
)
{
//
Apple's gdb
announces added libs
.
// {shlib-info={num="2", name="libmathCommon.A_debug.dylib",
// kind="-", dyld-addr="0x7f000", reason="dyld", requested-state="Y",
// state="Y", path="/usr/lib/system/libmathCommon.A_debug.dylib",
// description="/usr/lib/system/libmathCommon.A_debug.dylib",
// loaded_addr="0x7f000", slide="0x7f000", prefix=""}}
invalidateSourcesList
();
#endif
}
else
{
qDebug
()
<<
"IGNORED ASYNC OUTPUT"
<<
asyncClass
<<
result
.
toString
();
...
...
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