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
a6037c38
Commit
a6037c38
authored
Feb 08, 2010
by
Friedemann Kleint
Browse files
Debugger: Compile on Windows.
parent
4c8a2935
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/classicgdbengine.cpp
View file @
a6037c38
...
...
@@ -518,20 +518,21 @@ void GdbEngine::tryLoadDebuggingHelpersClassic()
else
dlopenLib
=
manager
()
->
qtDumperLibraryName
().
toLocal8Bit
();
// Do not use STRINGIFY as we really want to expand that to a number.
const
QByteArray
flag
=
QByteArray
::
number
(
RTLD_NOW
);
// Do not use STRINGIFY for RTLD_NOW as we really want to expand that to a number.
#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
// We are using Python on Windows and Symbian.
QTC_ASSERT
(
false
,
/**/
);
#elif defined(Q_OS_MAC)
//postCommand("sharedlibrary libc"); // for malloc
//postCommand("sharedlibrary libdl"); // for dlopen
const
QByteArray
flag
=
QByteArray
::
number
(
RTLD_NOW
);
postCommand
(
"call (void)dlopen(
\"
"
+
GdbMi
::
escapeCString
(
dlopenLib
)
+
"
\"
, "
+
flag
+
")"
,
CB
(
handleDebuggingHelperSetup
));
//postCommand("sharedlibrary " + dotEscape(dlopenLib));
#else
//postCommand("p dlopen");
const
QByteArray
flag
=
QByteArray
::
number
(
RTLD_NOW
);
postCommand
(
"sharedlibrary libc"
);
// for malloc
postCommand
(
"sharedlibrary libdl"
);
// for dlopen
postCommand
(
"call (void*)dlopen(
\"
"
+
GdbMi
::
escapeCString
(
dlopenLib
)
...
...
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