aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/process_ctrlc_stub.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* process_ctrlc_stub: close process and thread handlesJoerg Bornemann2014-04-111-0/+2
| | | | | | | | There's no need to keep those handles open throughout the lifetime of the stub. Change-Id: I27dd1f26edc1ccd150b913a7f38bab70d8b10763 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Incremented year in copyright infoRobert Loehning2014-01-081-1/+1
| | | | | | Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* fix warning C4267Joerg Bornemann2013-08-191-1/+1
| | | | | | | | We assing a DWORD to wParam when posting WM_DESTROY, thus we can be sure that there's no loss of data. Change-Id: I21c9b658ff06ea7792d0a357ff508bdab04fa5f7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QNX: Fix shutdown of inferior and inserting breakpoints on WindowsTobias Nätterlund2013-05-061-3/+17
| | | | | | | | | | | | | | | | | 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>
* Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Adjust license headershjk2012-10-051-21/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Merge remote-tracking branch 'origin/2.5' into 2.6Eike Ziller2012-07-251-1/+1
|\
| * Ensure first quote is accounted for when stripping the command itselfv2.5.1Andy Shaw2012-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | When the command line was processed to remove the call itself, it would not be removed correctly if it was quoted because it would not see the first quote. Task-number: QTCREATORBUG-7656 Change-Id: I016b1534e14563ddd8cadad8c0effcd6b4a9203b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | | | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* | Revert "ctrlc_stub: Send Ctrl-Break instead of Ctrl-C"Orgad Shaneh2012-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | Ctrl-Break kills the compiler while writing object files. This results in link errors on next build. This reverts commit 6147419f8712fda79539b9a94305ff04a22f73e5 Change-Id: I623e3ecb9f2f8a8613a731364a7e3b3a0abe8c15 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* | ctrlc_stub: Send Ctrl-Break instead of Ctrl-COrgad Shaneh2012-06-061-1/+1
|/ | | | | | | | This forces also processes initiated using 'start' to terminate Task-number: QTCREATORBUG-7455 Change-Id: I2ac7b31ebe67510dd17a2991efc30212987e967d Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* process_ctrl_c_stub: forward exit code of the child processJoerg Bornemann2011-11-071-3/+9
| | | | | | | | | If the child process cannot be started, return -1. Task-number: QTCREATORBUG-6458 Change-Id: I0392d883773f3037ac29dccc4d4a3c330efde838 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* use struct initialization instead of ZeroMemory in process_ctrlc_stubJoerg Bornemann2011-08-261-6/+3
| | | | | | | Change-Id: I8fa85c7a861e9f3f4067d12c894b0a1d30541eb5 Reviewed-on: http://codereview.qt.nokia.com/3675 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* process_ctrlc_stub: more intelligent removal of first argumentJoerg Bornemann2011-08-151-19/+15
| | | | | | | Change-Id: I693f5974a1c3f90a5d2f93d048c9a96504c44939 Reviewed-on: http://codereview.qt.nokia.com/2950 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* remove superfluous move from process_ctrlc_stubJoerg Bornemann2011-08-151-6/+1
| | | | | | | Change-Id: Id4458dcf29893a007ee85c0ce85a500617f02b6d Reviewed-on: http://codereview.qt.nokia.com/2946 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* fix incomplete renaming of qtcbuildhelper to qtcreator_ctrlc_stubJoerg Bornemann2011-08-151-7/+6
| | | | | | | Change-Id: Ie70c61770efc056c70a84c298100fec33295afb5 Reviewed-on: http://codereview.qt.nokia.com/2945 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* move qtcbuildhelper where it belongs and rename it accordinglyOswald Buddenhagen2011-08-151-0/+192
this is not a creator tool, but a helper of qtcprocess, just like the existing stub. Change-Id: Ice7c60a1dee0b132c6063747f82ea35699f4127d Reviewed-on: http://codereview.qt.nokia.com/2918 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>