diff options
author | Tobias Nätterlund <tobias.naetterlund.qnx@kdab.com> | 2013-05-03 13:52:52 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-05-06 08:59:41 +0200 |
commit | 515b6266c53094ce2337b5accef166659dc26891 (patch) | |
tree | da6d2eda908480fe4df70d2c98c402c74f5e651b /src/libs/utils/qtcprocess.h | |
parent | 14eee567f1a496ea3735fb315c2ef57e39d78a50 (diff) | |
download | qt-creator-515b6266c53094ce2337b5accef166659dc26891.tar.gz |
QNX: Fix shutdown of inferior and inserting breakpoints on Windows
When debugging on a QNX device on Windows, neither
DebugBreakProcess(..) nor "-exec-interrupt" works for interrupting
the inferior process. Neither does sending it a SIGINT signal using
"kill" on the device.
This changes the local gdb process to run under the CtrlC stub on
Windows when debugging on QNX. This enables us to send a Ctrl+C
message to gdb, which interrupts the inferior, and allows us to
insert breakpoints during runtime on Windows.
Change-Id: I4b01fbe81138f3fe7a939a7e64267bac4eb8bf43
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/libs/utils/qtcprocess.h')
-rw-r--r-- | src/libs/utils/qtcprocess.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/utils/qtcprocess.h b/src/libs/utils/qtcprocess.h index 80f4477959..8a95dfbaad 100644 --- a/src/libs/utils/qtcprocess.h +++ b/src/libs/utils/qtcprocess.h @@ -60,6 +60,9 @@ public: #endif void start(); void terminate(); +#ifdef Q_OS_WIN + void interrupt(); +#endif enum SplitError { SplitOk = 0, //! All went just fine |