OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
732bb08
)
fix attaching to core
author
Oswald Buddenhagen
<oswald.buddenhagen@nokia.com>
Wed, 4 Nov 2009 09:31:59 +0000
(10:31 +0100)
committer
con
<qtc-committer@nokia.com>
Wed, 4 Nov 2009 18:01:40 +0000
(19:01 +0100)
InferiorUnrunnable is equivalent to InferiorStopped as far as NeedsStop
commands are concerned.
Reviewed-by: hjk
(cherry picked from commit
46a7ac5fb987415981e4051eacfce288d944c862
)
src/plugins/debugger/gdb/gdbengine.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/debugger/gdb/gdbengine.cpp
b/src/plugins/debugger/gdb/gdbengine.cpp
index
f4b3984
..
78136da
100644
(file)
--- a/
src/plugins/debugger/gdb/gdbengine.cpp
+++ b/
src/plugins/debugger/gdb/gdbengine.cpp
@@
-742,7
+742,7
@@
void GdbEngine::postCommandHelper(const GdbCommand &cmd)
}
if ((cmd.flags & NeedsStop) || !m_commandsToRunOnTemporaryBreak.isEmpty()) {
- if (state() == InferiorStopped
+ if (state() == InferiorStopped
|| state() == InferiorUnrunnable
|| state() == InferiorStarting || state() == AdapterStarted) {
// Can be safely sent now.
flushCommand(cmd);