summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/valgrindprocess.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Valgrind: Merge ValgrindRunner and ValgrindProcesshjk2017-06-301-235/+0
| | | | | | | There was a 1:1 matching remaining. Change-Id: I619bedcda867b642eab37396a0bd48bcb3a5829a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Valgrind: Remove CallgrindController's use of ValgrindProcesshjk2017-06-291-12/+10
| | | | | | | | | | It's simply one-shot command execution, using (only some part of) the ValgrindProcess machinery that just happens to also to wrap a process is conceptually different from ValgrindProcess that "is" the valgrind-with-debuggee entity (and an unneeded dependency) Change-Id: I57a2c3d1cab6b15e59cb41b8e131948c170297b6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Valgrind: Fix Memcheck startup on remote linuxhjk2017-06-281-161/+78
| | | | | | | Remote CallGrind is still dysfunctional. Change-Id: Ib9ab537dc068c94c7e61ac48b1a4b9d655ccb60f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Return a ProcessHandle for AppLauncher::applicationPIDhjk2017-03-101-1/+1
| | | | | Change-Id: I00fc4dbd3a3c022006de95087b61a86bbb83faeb Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* fix environment variables on remote valgrindVolker Vogelhuber2016-04-271-0/+3
| | | | | | Change-Id: I01836cf90d4d905d5edc859e110372a6e634a683 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Fix valgrind with remote Linux hosts.Christian Kandeler2016-04-261-0/+2
| | | | | | | | | This reverts commit f1ccad12dc and adds the necessary code to make both the local and the remote case work. Task-number: QTCREATORBUG-16153 Change-Id: I233ec9d7b31ca6e076515dd03ae7400758ee0c34 Reviewed-by: hjk <hjk@theqtcompany.com>
* Valgrind: Do not open a terminal for callgrind controlOrgad Shaneh2016-03-111-2/+2
| | | | | Change-Id: I22892d43abc341703a2d046dc1d3b9bf4b736394 Reviewed-by: hjk <hjk@theqtcompany.com>
* Valgrind: Remove MemcheckRunner::localHostAddressRetrieved() etchjk2016-02-031-2/+0
| | | | | | | | | It was only ever used to run second valgrindProcess()->setValgrindArguments (fullValgrindArguments()) in the memcheck tool which was already done in ValgrindRunner::start() Change-Id: I95a6005e2131eea25215f17cd0e7244a3d8df12e Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Valgrind: Use SshConnectionManager to handle connectionshjk2016-02-021-2/+9
| | | | | Change-Id: I15a985880cdd48b74524089492dc9a32f7448999 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Valgrind: Simplify device setup and handlinghjk2016-02-021-7/+7
| | | | | | | | Make isLocal() less intrusively used and correct. Use the stored device more often, also handle errors more quickly. Change-Id: I146d1f5788ea79d0a9d7b058c81908d451cf00d0 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Valgrind: Postpone the decision on whether its a local runhjk2016-02-021-6/+9
| | | | | | | | The decision is wrong anyway, no harm done. Move it closer to a location where it can be done correctly. Change-Id: I92de8ffec92cae6b3de3322d5045b696ae62932f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Valgrind: Quickfix for remote execution.Christian Kandeler2016-01-291-0/+1
| | | | | | | | | | | | | | | Lots of stuff is still horribly broken due to the weird confusion between local/remote and "has project"/"does not have project" that crept in at some point, but this at least makes remote, project-specific memcheck work again. Still broken: - Remote callgrind - All remote valgrinds for external projects. - Local remote valgrind is not even available (anymore), as the respective menu entries have disappeared at some point. Change-Id: Iae6b60a0508d1b1b64fd0e0e5f776ea2c2e23598 Reviewed-by: hjk <hjk@theqtcompany.com>
* ProjectExplorer: Use StandardRunnable in ApplicationLauncherhjk2016-01-281-7/+7
| | | | | Change-Id: I7092d748207762d3dbd6c69c01cc06c88cbf63d8 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Valgrind: Use StandardRunnable in ValgrindRunner and ValgrindProcesshjk2016-01-261-50/+20
| | | | | Change-Id: I17def50bbf6887b63d676fdb245064f1df2003de Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'Eike Ziller2015-02-121-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/tooltip/tipcontents.cpp src/libs/utils/tooltip/tipcontents.h src/plugins/android/androiddeployqtstep.cpp src/plugins/baremetal/baremetalconstants.h src/plugins/baremetal/baremetaldevice.cpp src/plugins/baremetal/baremetaldevice.h src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp src/plugins/baremetal/baremetaldeviceconfigurationwidget.h src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h src/plugins/baremetal/baremetalplugin.cpp src/plugins/baremetal/baremetalplugin.h src/plugins/baremetal/baremetalruncontrolfactory.cpp src/plugins/baremetal/baremetalruncontrolfactory.h src/plugins/cppeditor/cppcodemodelinspectordialog.cpp src/plugins/cppeditor/cppdoxygen_test.cpp src/plugins/cppeditor/cppdoxygen_test.h src/plugins/debugger/breakpointmarker.cpp src/plugins/debugger/debuggeritemmodel.cpp src/plugins/debugger/debuggeritemmodel.h src/plugins/debugger/loadcoredialog.cpp src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp src/plugins/projectexplorer/addnewmodel.cpp src/plugins/projectexplorer/addnewmodel.h src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp src/plugins/qmlprofiler/abstracttimelinemodel.cpp src/plugins/qmlprofiler/abstracttimelinemodel.h src/plugins/qmlprofiler/notesmodel.cpp src/plugins/qmlprofiler/qml/CategoryLabel.qml src/plugins/qmlprofiler/qml/MainView.qml src/plugins/qmlprofiler/qml/Overview.js src/plugins/qmlprofiler/qml/Overview.qml src/plugins/qmlprofiler/qml/TimeDisplay.qml src/plugins/qmlprofiler/qml/TimeMarks.qml src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp src/plugins/qmlprofiler/sortedtimelinemodel.cpp src/plugins/qmlprofiler/sortedtimelinemodel.h src/plugins/qmlprofiler/timelinemodelaggregator.cpp src/plugins/qmlprofiler/timelinemodelaggregator.h src/plugins/qmlprofiler/timelinerenderer.cpp src/plugins/qmlprofiler/timelinerenderer.h src/plugins/qmlprojectmanager/QmlProjectManager.json.in src/plugins/texteditor/findinfiles.cpp src/plugins/vcsbase/vcsconfigurationpage.cpp src/shared/qbs src/shared/scriptwrapper/interface_wrap_helpers.h src/shared/scriptwrapper/wrap_helpers.h tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp tests/system/suite_debugger/tst_debug_empty_main/test.py tests/system/suite_debugger/tst_qml_js_console/test.py tests/system/suite_debugger/tst_qml_locals/test.py Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
| * Update LicenseEike Ziller2015-01-161-6/+6
| | | | | | | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | Valgrind: Port to Qt5-style connectOrgad Shaneh2015-02-091-25/+28
| | | | | | | | | | Change-Id: If5f36bb262b932b60133d4301ab614311ce1feee Reviewed-by: hjk <hjk@theqtcompany.com>
* | ProjectExplorer/Valgrind: Disambiguate signal nameOrgad Shaneh2015-02-091-2/+2
| | | | | | | | | | | | | | | | | | error => processError To make it easier to use Qt5-style connect Change-Id: Idfa987512ebb7d1c1c02d3cd01b2d05088cbf38a Reviewed-by: hjk <hjk@theqtcompany.com>
* | Replace QFileInfo::fileName() with FileName::fileName()Orgad Shaneh2015-01-291-5/+5
|/ | | | | Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d Reviewed-by: hjk <hjk@theqtcompany.com>
* Valgrind: Avoid passing empty argumentOrgad Shaneh2014-11-031-1/+2
| | | | | Change-Id: Id0915718cb6b76c227ded0f418bf3c5aadcb9f35 Reviewed-by: hjk <hjk121@nokiamail.com>
* License updateEike Ziller2014-10-091-7/+8
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Valgrind: Initialize member variableOrgad Shaneh2014-06-161-1/+3
| | | | | Change-Id: I0645e53dc010224a04a9bfe3a8eea34d360ac72d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Valgrind: Fix passing multiple arguments to inferiorChristian Stenger2014-06-041-1/+1
| | | | | Change-Id: Iabed71d294e0d0a8775588da1fa2164ef39df455 Reviewed-by: hjk <hjk121@nokiamail.com>
* Valgrind: Don't use QString::fromLocal8Bit() on remote output.Christian Kandeler2014-05-121-2/+2
| | | | | | | | | Instead, assume UTF-8, which is very likely to be correct for a remote Linux system. Change-Id: I2976e2d79bf10d4db23f60f2c6c9fddffa58a9b7 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Valgrind: Support console applicationsOrgad Shaneh2014-05-081-35/+34
| | | | | | Task-number: QTCREATORBUG-7311 Change-Id: I973136076118fd8868c6cb461ad31e107c73566e Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Valgrind: Remove dialog asking for IP address.Christian Kandeler2014-05-081-10/+36
| | | | | | | | | | | When running the memcheck tool remotely, it sends its data via a TCP socket to the development host, so it needs to know that machine's IP address. The current code gathers all local network addresses and makes the user choose one of them. However, we can get that information from the SSH connection, so no user interaction is required. Change-Id: Ia61decddd5fa1e285ca143605d944d6d9275b3e4 Reviewed-by: hjk <hjk121@nokiamail.com>
* Valgrind: Minor cleanupOrgad Shaneh2014-05-061-2/+1
| | | | | Change-Id: I8457accbec28773de24d2921530a6c437de0d9ac Reviewed-by: hjk <hjk121@nokiamail.com>
* Valgrind: Use QString for processOutput signalOrgad Shaneh2014-05-051-2/+2
| | | | | Change-Id: I446f1a06b2c00280679dd09cd1818c1dd69c7e11 Reviewed-by: hjk <hjk121@nokiamail.com>
* Valgrind: Fix typo in signal-slot connection.Christian Kandeler2014-04-251-1/+1
| | | | | Change-Id: I2e206db3329c61ec2e46d37a93d1a542fe139759 Reviewed-by: hjk <hjk121@nokiamail.com>
* Utils: Compile winutils on all platformhjk2014-02-201-5/+0
| | | | | | | ... and simplify "user" code. Change-Id: I2dfa402f25ab83f1ab80adc0ac508e8383c69641 Reviewed-by: David Schulz <david.schulz@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>
* Utils: Rename winQPidToPid to qPidToPidhjk2013-07-121-5/+1
| | | | | | | ... and make it a no-op on non-Windows. Saves #ifdefs. Change-Id: Ie791f7b9f1a425325d0b889e73758c5f7f7e6ad2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Valgrind: Compile on Windows.Friedemann Kleint2013-07-121-1/+2
| | | | | Change-Id: I3afd64b297a15af2e51c7fdd83292b9ca2a1cc1f Reviewed-by: hjk <hjk121@nokiamail.com>
* Analyzer: Merge Valgrind process classeshjk2013-07-111-217/+169
| | | | | Change-Id: Ic2ef2304fb5524d07858052806124f6b02ca4dcb Reviewed-by: hjk <hjk121@nokiamail.com>
* Merge remote-tracking branch 'origin/2.6'Oswald Buddenhagen2013-01-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/debugger/qtmessageloghandler.cpp src/plugins/debugger/qtmessagelogwindow.cpp src/plugins/madde/maemodeployconfigurationwidget.cpp src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp src/plugins/qmldesigner/designercore/include/widgetqueryview.h src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp src/plugins/qnx/bardescriptormagicmatcher.h src/plugins/qt4projectmanager/profilekeywords.cpp src/plugins/remotelinux/deployablefilesperprofile.cpp src/plugins/remotelinux/deployablefilesperprofile.h src/plugins/remotelinux/deploymentinfo.cpp src/plugins/remotelinux/deploymentsettingsassistant.cpp src/plugins/remotelinux/profilesupdatedialog.cpp tests/auto/icheckbuild/ichecklib.cpp tests/auto/icheckbuild/parsemanager.cpp tests/auto/icheckbuild/parsemanager.h Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
| * Incremented year in copyright infov2.6.2Robert Loehning2013-01-291-1/+1
| | | | | | | | | | Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Valgrind: Compile with QT_NO_CAST_FROM_ASCIIOrgad Shaneh2012-11-271-11/+11
|/ | | | | Change-Id: I935579630c4d2f3a7bce69756da9eceb5e2bc005 Reviewed-by: hjk <qthjk@ovi.com>
* Adjust license headershjk2012-10-051-22/+20
| | | | | Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* SSH: Add parent object to SshConnection constructor.Christian Kandeler2012-06-081-3/+1
| | | | | | | | There's no mandatory use of shared pointers anymore, so client code should be able to make use of QObject-based ownership. Change-Id: I2344ca66a40c310ef739b32502eb8471da98c03a Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* SSH: Name SshRemoteProcess::ExitStatus values like the QProcess ones.Christian Kandeler2012-06-081-2/+2
| | | | | | | | (We cannot use QProcess::ExitStatus itself, because it does not contain FailedToStart.) Change-Id: I83ed6de621e2693e539562cd8e56ef478fa4fcb9 Reviewed-by: hjk <qthjk@ovi.com>
* SSH: Fix some potential crashes.Christian Kandeler2012-06-061-1/+2
| | | | | | Change-Id: I102e35c3dcd3725f357c91d9f0a77ab28d881b0d Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* SSH: Use plain pointers to SshConnection objects.Christian Kandeler2012-05-291-6/+11
| | | | | | | | | | It used to be shared pointers so that existing connection objects could easily be passed around in order not to open a new connection to the same server. Since the introduction of the SshConnectionManager, this is no longer necessary. Change-Id: I13fd3eceaf35d562e6260e9969abbffb01edd6b5 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
* Move SSH support into a dedicated library.Christian Kandeler2012-05-221-17/+17
| | | | | | | | | It does not belong into libUtils, which is a collection of small unrelated utility classes. Task-number: QTCREATORBUG-7218 Change-Id: Id92b9f28678afec93e6f07166adfde6550f38072 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Normalized connect()sRobert Loehning2012-03-061-2/+2
| | | | | | Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-4/+4
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* SSH: Make API of SshRemoteProcess more similar to the one of QProcess.Christian Kandeler2011-11-141-14/+10
| | | | | | | In the end, we want to derive it from QIODevice as well. Change-Id: I30e7cb23ec8e5753c363d1f4457b650556860ac2 Reviewed-by: Christian Kandeler <christian.kandeler@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>