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
5cb0a3cb
Commit
5cb0a3cb
authored
Apr 15, 2009
by
hjk
Browse files
debugger: put the address of the loaded helpers into the debugger log
parent
500b5e20
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.cpp
View file @
5cb0a3cb
...
...
@@ -202,11 +202,12 @@ QT_END_NAMESPACE
#endif // PRIVATE_OBJECT_ALLOWED
// this can be mangled typenames of nested templates, each char-by-char
// comma-separated integer list
static
char
qDumpInBuffer
[
10000
];
static
char
qDumpOutBuffer
[
100000
];
//static char qDumpSize[20];
// This can be mangled typenames of nested templates, each char-by-char
// comma-separated integer list...
char
qDumpInBuffer
[
10000
];
// The output buffer.
char
qDumpOutBuffer
[
100000
];
namespace
{
...
...
src/plugins/debugger/gdbengine.cpp
View file @
5cb0a3cb
...
...
@@ -4151,10 +4151,10 @@ void GdbEngine::tryLoadDebuggingHelpers()
QString
flag
=
QString
::
number
(
RTLD_NOW
);
sendCommand
(
"sharedlibrary libc"
);
// for malloc
sendCommand
(
"sharedlibrary libdl"
);
// for dlopen
sendCommand
(
"call (void)dlopen(
\"
"
+
lib
+
"
\"
, "
+
flag
+
")"
,
sendCommand
(
"call (void
*
)dlopen(
\"
"
+
lib
+
"
\"
, "
+
flag
+
")"
,
WatchDebuggingHelperSetup
);
// some older systems like CentOS 4.6 prefer this:
sendCommand
(
"call (void)__dlopen(
\"
"
+
lib
+
"
\"
, "
+
flag
+
")"
,
sendCommand
(
"call (void
*
)__dlopen(
\"
"
+
lib
+
"
\"
, "
+
flag
+
")"
,
WatchDebuggingHelperSetup
);
sendCommand
(
"sharedlibrary "
+
dotEscape
(
lib
));
#endif
...
...
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