History log of /external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
85923290360a48aaa2518cf18941673ba4d6deac 10-Jul-2013 Andrew Kaylor <andrew.kaylor@intel.com> Stop process monitor from ProcessPOSIX::Finalize

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
e279f1a76b26dd1a154fc0220af7049526e05b61 10-Jul-2013 Andrew Kaylor <andrew.kaylor@intel.com> Reverting ProcessMonitor shared pointer changes

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185981 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
1dc7fe87a632009aada9b2d90e12a36080f8d48d 09-Jul-2013 Andrew Kaylor <andrew.kaylor@intel.com> Use shared pointers to hold the process in ProcessMonitor

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185946 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
c350e13fd3351613345141bee7d8b2543df54636 01-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Add ability to attach/detach to multi-threaded inferiors on Linux.
All running threads will be detected and stopped on attach and all threads get resumed on detach.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
3bd2ebd670677dae45010bf53084ff85da7c6a5e 29-May-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding support for stopping all threads of multithreaded inferiors on Linux. Also adding multithreaded test cases.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182809 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
c73fedb63ab170d711fb73d198451eb8db710e8d 09-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Fixed "log enable linux registers" and added a test.
- Eliminated the use of static for methods that read m_register_infos, so that these routines can be implemented in the base class.
- Eliminated m_register_infos in the base class because this is not used when derived classes call UpdateRegisterInfo.
- Also moved the namespace using declarations from headers to source files.

Thanks to Daniel and Samuel for their review feedback.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
3584d741671ab0cae0c616cbc2526113db995194 20-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Add Linux support for reading/writing extended register sets.

Patch by Ashok Thirumurthi.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
4842d27af6034a5612b45dcf2977d5015e44d0b0 15-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Rollback r177173. Some OSs may not have ptrace extensions which lldb expects when building. This needs to be accounted for.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177176 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
63c25eeb44785d897a8b256e9d3a25aa4fe95a93 15-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Add ptrace extensions to query a register set.

Patch by Ashok Thirumurthi.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
247bc3a7bb79482185bd6dedb0b9f8b5eefd8ca1 06-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Improve/Cleanup ptrace wrapper and remove dependency on user.h

Patch by Ashok Thirumurthi.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
1e44fddf7f0c75b275bea0d5a55b4be01240c01a 08-Jan-2013 Daniel Malea <daniel.malea@intel.com> Implement -w flag to process launch (allow launching inferior process in different working directory) on Linux/FreeBSD
- fixes test case TestProcessLaunch



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
dca8c9f11ad6b115b77b870d9b7b424456bb3295 18-Dec-2012 Daniel Malea <daniel.malea@intel.com> Allow reading registers by thread ID in ProcessMonitor (Linux implementation)
- make FreeBSD ProcessMonitor API thread-ready

Patch by Matt Kopec!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
c001040c123b4b5b8fd637193e9c0b26e5ab9186 23-Nov-2012 Daniel Malea <daniel.malea@intel.com> Fix Linux bug that leaves lldb in invalid state after expression evaluation times out.
- Handle EINVAL return code from ptrace(GETSIGINFO, ...): not an error, but 'group-stop' state on Linux
- propagate SIGSTOP to inferior in above case
- this commit resolves the failure in expression_command/timeout testcase

Thanks to Sean Callanan & Matt Kopec for helping debug this problem



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
db178a185caf43aecba332f1c4c5e6dccce9eeae 16-Oct-2012 Greg Clayton <gclayton@apple.com> Patch from Matt Kopec:

This patch fixes an issue where if lldb fails to attach to a process (ie. invalid pid) on Linux, the process monitor thread gets stuck waiting for a signal from the attach thread, which never comes due to not being signaled. It also implements StopOpThread which is used for both attach/launch cases as I'm not aware of any special handling needed for the attach case. Also, propagate 'Error' from the Detach function instead of using a bool.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166055 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
7e9964783acae183c23a7ea470cedd64472eb233 05-Jan-2012 Johnny Chen <johnny.chen@apple.com> This patch combines common code from Linux and FreeBSD into
a new POSIX platform. It also contains fixes for 64bit FreeBSD.

The patch is based on changes by Mark Peek <mp@FreeBSD.org> and
"K. Macy" <kmacy@freebsd.org> in their github repo located at
https://github.com/fbsd/lldb.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
48a202dd3ac1fb4ee6709074448dc4d221fa020c 29-Nov-2011 Greg Clayton <gclayton@apple.com> Patch from Dawn that fixes up linux debugging and a first passs at an
implementation of the linux platform.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
839153019db03caa8d67e6a3cc83e7f2b740b43e 21-Nov-2011 Peter Collingbourne <peter@pcc.me.uk> Update ProcessMonitor::MonitorCallback signature.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
dfbfa9cf330e2f2b64024630e30286bbfd8e3e24 21-Jun-2011 Peter Collingbourne <peter@pcc.me.uk> Remove duplicate m_monitor field from LaunchArgs

Fixes segfault when launching process on Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133484 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
9bab8d4a18312d743c62083393fe5c39458c300b 14-Jun-2011 Johnny Chen <johnny.chen@apple.com> Primitive attach support for linux

This patch is a starting point for the attach functionality.

Signed-off-by: Johnny Chen <johnny.chen@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
828c34f7f614716570d354856ff7c352e4346f40 03-Jun-2011 Peter Collingbourne <peter@pcc.me.uk> Implement RegisterContextLinux_x86_64::{Read,Write}AllRegisterValues

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
0b0e3fc7fc077a79293f6780fc63afa4ab787e83 13-May-2011 Johnny Chen <johnny.chen@apple.com> This patch add a "fake" attach waiting for a real implementation and
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.]


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131313 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
67d9f7e394d4240d6af0c97d9eb116b0d87aaf07 30-Mar-2011 Stephen Wilson <wilsons@start.ca> linux: initial support for 'real' signal handling

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.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
4e1ba0f55504538d823775c36a0cf2b944fcc2bf 19-Jan-2011 Stephen Wilson <wilsons@start.ca> Delay sync with the parent thread in ProcessLinux/ProcessMonitor.

This patch removes a potential race condition between a process monitor thread
and its parent waiting to interrogate the success/failure of the launch.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
bc5d8a286b34534c124d5cd93c0c6614c468c36b 19-Jan-2011 Stephen Wilson <wilsons@start.ca> Support the reading of registers en masse via the linux ProcessMonitor.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
ec2bab4275ade50973d6aa431f5eb55d5d427ba0 15-Jan-2011 Stephen Wilson <wilsons@start.ca> Use the correct type for thread handle.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
5d187e5495ee17f6763337a6ae28c2a7b07e4945 08-Jan-2011 Greg Clayton <gclayton@apple.com> Spelling changes applied from lldb_spelling.diffs from Bruce Mitchener.

Thanks Bruce!



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
09e34d517513f2cea70c22a03a27b3149323122e 04-Jan-2011 Stephen Wilson <wilsons@start.ca> Host::StopMonitoringChildProcess has been removed. Provide a substitute.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h
f6f40333e91c97cc3b3ad5fb9fc0549079a96788 24-Jul-2010 Stephen Wilson <wilsons@start.ca> Add a new Process plugin for Linux.

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.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.h