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:
bbba0f5
)
debugger: be a bit more verbose in the log on process interruption
author
hjk
<qtc-committer@nokia.com>
Mon, 20 Dec 2010 13:47:29 +0000
(14:47 +0100)
committer
hjk
<qtc-committer@nokia.com>
Mon, 20 Dec 2010 13:47:52 +0000
(14:47 +0100)
src/plugins/debugger/gdb/localplaingdbadapter.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/debugger/gdb/localplaingdbadapter.cpp
b/src/plugins/debugger/gdb/localplaingdbadapter.cpp
index
e91853b
..
83715e1
100644
(file)
--- a/
src/plugins/debugger/gdb/localplaingdbadapter.cpp
+++ b/
src/plugins/debugger/gdb/localplaingdbadapter.cpp
@@
-164,7
+164,9
@@
void LocalPlainGdbAdapter::interruptInferior()
return;
}
- if (!interruptProcess(attachedPID)) {
+ if (interruptProcess(attachedPID)) {
+ showMessage(_("INTERRUPTED %1").arg(attachedPID));
+ } else {
showMessage(_("CANNOT INTERRUPT %1").arg(attachedPID));
m_engine->notifyInferiorStopFailed();
}