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
1703c8c1
Commit
1703c8c1
authored
Sep 15, 2009
by
con
Browse files
Gdb engine couldn't start executable with space in it.
Reviewed-by: hjk
parent
c22e4c76
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
1703c8c1
...
...
@@ -148,8 +148,7 @@ static QByteArray parsePlainConsoleStream(const GdbResultRecord &record)
void
PlainGdbAdapter
::
attach
()
{
QFileInfo
fi
(
m_engine
->
startParameters
().
executable
);
QString
fileName
=
fi
.
absoluteFilePath
();
m_engine
->
postCommand
(
_
(
"-file-exec-and-symbols "
)
+
fileName
,
m_engine
->
postCommand
(
_
(
"-file-exec-and-symbols
\"
%1
\"
"
).
arg
(
fi
.
absoluteFilePath
()),
&
GdbEngine
::
handleFileExecAndSymbols
,
"handleFileExecAndSymbols"
);
}
...
...
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