Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b5df0779
Commit
b5df0779
authored
May 06, 2009
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: use -exec-interrupt to interrupt inferiors in gdbserver
parent
74c50880
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/plugins/debugger/gdbengine.cpp
src/plugins/debugger/gdbengine.cpp
+6
-0
No files found.
src/plugins/debugger/gdbengine.cpp
View file @
b5df0779
...
...
@@ -528,12 +528,18 @@ void GdbEngine::readGdbStandardOutput()
void
GdbEngine
::
interruptInferior
()
{
qq
->
notifyInferiorStopRequested
();
if
(
m_gdbProc
.
state
()
==
QProcess
::
NotRunning
)
{
debugMessage
(
_
(
"TRYING TO INTERRUPT INFERIOR WITHOUT RUNNING GDB"
));
qq
->
notifyInferiorExited
();
return
;
}
if
(
q
->
startMode
()
==
AttachRemote
)
{
execCommand
(
_
(
"-exec-interrupt"
));
return
;
}
if
(
q
->
m_attachedPID
<=
0
)
{
debugMessage
(
_
(
"TRYING TO INTERRUPT INFERIOR BEFORE PID WAS OBTAINED"
));
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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