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
1be85e1a
Commit
1be85e1a
authored
Sep 15, 2009
by
hjk
Browse files
debugger: remove unneeded code, reformat
parent
e3f47cbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
1be85e1a
...
...
@@ -1529,8 +1529,6 @@ void GdbEngine::startDebugger(const QSharedPointer<DebuggerStartParameters> &sp)
QTC_ASSERT
(
m_debuggingHelperState
==
DebuggingHelperUninitialized
,
initializeVariables
());
QStringList
gdbArgs
;
if
(
m_gdbAdapter
->
state
()
!=
QProcess
::
NotRunning
)
{
debugMessage
(
_
(
"GDB IS ALREADY RUNNING, STATE: %1"
).
arg
(
m_gdbAdapter
->
state
()));
m_gdbAdapter
->
kill
();
...
...
@@ -1538,12 +1536,12 @@ void GdbEngine::startDebugger(const QSharedPointer<DebuggerStartParameters> &sp)
return
;
}
//gdbArgs.prepend(_("--quiet"))
;
QStringList
gdbArgs
;
gdbArgs
.
prepend
(
_
(
"mi"
));
gdbArgs
.
prepend
(
_
(
"-i"
));
if
(
startMode
()
==
AttachCore
||
startMode
()
==
AttachExternal
||
startMode
()
==
AttachCrashedExternal
)
{
if
(
startMode
()
==
AttachCore
||
startMode
()
==
AttachExternal
||
startMode
()
==
AttachCrashedExternal
)
{
// nothing to do
}
else
if
(
startMode
()
==
StartRemote
)
{
// Start the remote server
...
...
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