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
7767436b
Commit
7767436b
authored
Apr 07, 2010
by
hjk
Browse files
debugger: don't force use of compiled debugging helpers in the terminal adapter
parent
974aa82f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/termgdbadapter.cpp
View file @
7767436b
...
...
@@ -94,14 +94,6 @@ void TermGdbAdapter::startAdapter()
m_stubProc
.
setWorkingDirectory
(
startParameters
().
workingDir
);
// Set environment + dumper preload.
QStringList
environment
=
startParameters
().
environment
;
if
(
dumperHandling
()
==
DumperLoadedByAdapter
&&
m_engine
->
checkDebuggingHelpers
())
{
QString
var
=
QLatin1String
(
Debugger
::
Constants
::
Internal
::
LD_PRELOAD_ENV_VAR
);
var
+=
QLatin1Char
(
'='
);
var
+=
m_engine
->
qtDumperLibraryName
();
environment
.
push_back
(
var
);
m_engine
->
setDebuggingHelperStateClassic
(
DebuggingHelperLoadTried
);
}
m_stubProc
.
setEnvironment
(
environment
);
// FIXME: Starting the stub implies starting the inferior. This is
// fairly unclean as far as the state machine and error reporting go.
...
...
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