summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Primitive attach support for linuxJohnny Chen2011-06-141-16/+162
| | | | | | | This patch is a starting point for the attach functionality. Signed-off-by: Johnny Chen <johnny.chen@apple.com> llvm-svn: 133006
* Improve error reporting in ProcessMonitor::LaunchPeter Collingbourne2011-06-141-8/+46
| | | | llvm-svn: 132972
* Fix mistakes relating to ProcessMonitor::DupDescriptorPeter Collingbourne2011-06-141-4/+4
| | | | llvm-svn: 132971
* If ProcessMonitor::Launch fails, post semaphore to notify callerPeter Collingbourne2011-06-141-1/+3
| | | | llvm-svn: 132970
* Implement RegisterContextLinux_x86_64::{Read,Write}AllRegisterValuesPeter Collingbourne2011-06-031-0/+70
| | | | llvm-svn: 132587
* This patch add a "fake" attach waiting for a real implementation andJohnny Chen2011-05-131-7/+8
| | | | | | | | | | | | | | | | solve the build break due to the lack of this method. It also propose a solution to the API changes in RegisterContext. I upgraded also the the python version in the makefile. My linux installation has python2.7 and AFAIK also the latest ubuntu has this version of python so maybe is worth upgrading. Patch by Marco Minutoli <mminutoli@gmail.com> [Note: I had to hand merge in the diffs since patch thinks it is a corrupt patch.] llvm-svn: 131313
* linux: initial support for 'real' signal handlingStephen Wilson2011-03-301-75/+262
| | | | | | | | This patch upgrades the Linux process plugin to handle a larger range of signal events. For example, we can detect when the inferior has "crashed" and why, interrupt a running process, deliver an arbitrary signal, and so on. llvm-svn: 128547
* linux: simple support for process input and outputStephen Wilson2011-03-231-0/+27
| | | | llvm-svn: 128137
* linux: use IS_VALID_LLDB_HOST_THREAD.Stephen Wilson2011-02-091-4/+4
| | | | | | | Update the linux plugin code to use the new check for a valid host thread introduced in r125067. llvm-svn: 125213
* Delay sync with the parent thread in ProcessLinux/ProcessMonitor.Stephen Wilson2011-01-191-4/+7
| | | | | | | This patch removes a potential race condition between a process monitor thread and its parent waiting to interrogate the success/failure of the launch. llvm-svn: 123803
* Support the reading of registers en masse via the linux ProcessMonitor.Stephen Wilson2011-01-191-0/+70
| | | | llvm-svn: 123797
* Miscellaneous cleanups in ProcessMonitor.Stephen Wilson2011-01-151-8/+15
| | | | | | | Propagate the environment if one is not provided. Also, do not allocate the monitor threads launch arguments on the stack. llvm-svn: 123502
* Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.Greg Clayton2011-01-081-2/+2
| | | | | | Thanks Bruce! llvm-svn: 123083
* Host::StopMonitoringChildProcess has been removed. Provide a substitute.Stephen Wilson2011-01-041-3/+16
| | | | llvm-svn: 122835
* Replace old "CurrentThread" calls with equivalent "SelectedThread" calls.Stephen Wilson2011-01-041-1/+1
| | | | llvm-svn: 122834
* Add a new Process plugin for Linux.Stephen Wilson2010-07-241-0/+925
This component is still at an early stage, but allows for simple breakpoint/step-over operations and basic process control. The makefiles are set up to build the plugin under Linux only. llvm-svn: 109318
OpenPOWER on IntegriCloud