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
3b64a6cc
Commit
3b64a6cc
authored
Jul 21, 2010
by
hjk
Browse files
debugger: skip "release build" check if objdump could not be started
parent
c234c7cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/localplaingdbadapter.cpp
View file @
3b64a6cc
...
...
@@ -127,7 +127,11 @@ void LocalPlainGdbAdapter::checkForReleaseBuild()
args
.
append
(
startParameters
().
executable
);
proc
.
start
(
_
(
"objdump"
),
args
);
proc
.
closeWriteChannel
();
QTC_ASSERT
(
proc
.
waitForStarted
(),
qDebug
()
<<
"UNABLE TO RUN OBJDUMP"
);
if
(
!
proc
.
waitForStarted
())
{
showMessage
(
_
(
"OBJDUMP PROCESS COULD NOT BE STARTED. "
"RELEASE BUILD CHECK WILL FAIL"
));
return
;
}
proc
.
waitForFinished
();
QByteArray
ba
=
proc
.
readAllStandardOutput
();
// This should yield something like
...
...
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