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
Marco Bubke
flatpak-qt-creator
Commits
702e9f3f
Commit
702e9f3f
authored
Nov 04, 2010
by
hjk
Browse files
debugger: cosmetics
parent
91ba3949
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerconstants.h
View file @
702e9f3f
...
...
@@ -79,12 +79,6 @@ const char * const DOCKWIDGET_QML_SCRIPTCONSOLE = "Debugger.Docks.ScriptConsole"
namespace
Internal
{
enum
{
debug
=
0
};
#ifdef Q_OS_MAC
const
char
*
const
LD_PRELOAD_ENV_VAR
=
"DYLD_INSERT_LIBRARIES"
;
#else
const
char
*
const
LD_PRELOAD_ENV_VAR
=
"LD_PRELOAD"
;
#endif
}
// namespace Internal
const
char
*
const
OPENED_BY_DEBUGGER
=
"OpenedByDebugger"
;
...
...
src/plugins/debugger/gdb/gdbengine.cpp
View file @
702e9f3f
...
...
@@ -1548,8 +1548,13 @@ void GdbEngine::pythonDumpersFailed()
if
(
m_gdbAdapter
->
dumperHandling
()
==
AbstractGdbAdapter
::
DumperLoadedByGdbPreload
&&
checkDebuggingHelpersClassic
())
{
#ifdef Q_OS_MAC
const
char
*
const
LD_PRELOAD_ENV_VAR
=
"DYLD_INSERT_LIBRARIES"
;
#else
const
char
*
const
LD_PRELOAD_ENV_VAR
=
"LD_PRELOAD"
;
#endif
QByteArray
cmd
=
"set environment "
;
cmd
+=
Debugger
::
Constants
::
Internal
::
LD_PRELOAD_ENV_VAR
;
cmd
+=
LD_PRELOAD_ENV_VAR
;
cmd
+=
' '
;
cmd
+=
startParameters
().
startMode
==
StartRemoteGdb
?
startParameters
().
remoteDumperLib
...
...
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