History log of /external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4349bcb8ec51f3fd447b511b2ce8292a92d3c771 01-Aug-2013 Michael Sartain <mikesart@valvesoftware.com> Fix thread name updating in Linux. "thread list" should report correct names always now.
Created new LinuxThread class inherited from POSIXThread and removed linux / freebsd ifdefs
Removed several un-needed set thread name calls

CR (and multiple suggestions): mkopec



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
8f9653b3dfa26bd728e3ac6777ceb8ab3f5e29ce 17-Jul-2013 Ed Maste <emaste@freebsd.org> Correct comment to match class name



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
21d8200d24e414bc29c663ed66f51a3f8201d439 11-Jul-2013 Matt Kopec <Matt.Kopec@intel.com> Fix unhandled SIGTRAP signal on Linux causing assertion.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186112 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
0ba7548c72ed9a242415cb78f2351146d7afe3b7 10-Jul-2013 Matt Kopec <Matt.Kopec@intel.com> Add support for listing inferior thread names on Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
ff3536bf16cf4abda02a69353db94137ee31819f 09-Jul-2013 Matt Kopec <Matt.Kopec@intel.com> Fix signal handling for POSIX (only tested on Linux) processes in multi-threaded programs.
Also fix a related issue where if a thread exits after a thread continue, lldb would hang.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
362dae7df04939496f98bd921c014393fa1cf276 24-Jun-2013 Ed Maste <emaste@freebsd.org> Update comment to match class name



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
884288bcb6824452a3c64eb772c0976501acc47a 03-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Fix various build warnings.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
451a54e89fd311bd908fa0d79b1d8c6d30cd96c0 18-May-2013 Matt Kopec <Matt.Kopec@intel.com> The Linux process plugin wasn't returning the correct linux signals. This fixes that.
Thus, this patch also negates a previous fix for handling SIGCHLD.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
63188ebb78fa25720f4d094f1017076043a4d5e6 17-May-2013 Matt Kopec <Matt.Kopec@intel.com> ProcessMonitor improvements for Linux.
-Remove tracing of fork/vfork until we add support for tracing inferiors' children on Linux.
-Add trace exec option for ptrace so that we don't receive legacy SIGTRAP signals on execve calls.
-Add handling of SIGCHLD sent by kernel (for now, deliver the signal to the inferior).


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
88e529b73a48e3a495a0fe51c60c38e75a6a058a 13-May-2013 Daniel Malea <daniel.malea@intel.com> Fix Linux warning about missing virtual destructor in Operation classes



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
3d4d51cd1bdef32ab61ba9e1de75d5a4f4c1dbed 07-May-2013 Matt Kopec <Matt.Kopec@intel.com> Add watchpoint support for Linux on 64-bit host.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
102b2c2681c9a830afe25bfea35557421905e42c 19-Apr-2013 Greg Clayton <gclayton@apple.com> After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
81a96aa6242f7b559770f5dc62316253cb8cb0d4 18-Apr-2013 Greg Clayton <gclayton@apple.com> Since we use C++11, we should switch over to using std::unique_ptr when C++11 is being used. To do this, we follow what we have done for shared pointers and we define a STD_UNIQUE_PTR macro that can be used and it will "do the right thing". Due to some API differences in std::unique_ptr and due to the fact that we need to be able to compile without C++11, we can't use move semantics so some code needed to change so that it can compile with either C++.

Anyone wanting to use a unique_ptr or auto_ptr should now use the "STD_UNIQUE_PTR(TYPE)" macro.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
d8f6b6446d8b9d1568f91f51bc5dd3aae45db5cc 28-Mar-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Fix the Linux build issues introduced by r178191.

- All Linux logging channels now use a single global instance of lldb_private::Log, to handle the case of logging during process tear down.
- Also removed a single use of LogSP in FreeBSD and fixed a typo in a comment while reading through ProcessKDPLog.

Reviewed by Daniel Malea.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
28bd2c8c223e9033ddb68881b24348f4291560f9 27-Mar-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> test commit
- modified a comment


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
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.cpp
a7cd95d428cea6a767badf54c89cfd301d119c31 14-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Recommit lldb realtime output for POSIX.
-Adds workaround for assertion in lldb for TestEvents.py


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
f1fda3748c39c92d2e79aeba0715baffabd3286b 08-Jan-2013 Matt Kopec <Matt.Kopec@intel.com> Add initial support to trace spawned threads in a process on Linux.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@171864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
54cc72cc99c5f4878ac76878f5da1714dd48cc56 14-Dec-2012 Daniel Malea <daniel.malea@intel.com> Avoid possible overflow when reading inferior memory (and logging is enabled)

Patch by Matt Kopec!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
b9db9d5bb01963774f28540dbe2c5a11f586ff29 07-Dec-2012 Daniel Malea <daniel.malea@intel.com> Fix a few more clang (3.2) warnings on Linux:
- remove unused members
- add NO_PEDANTIC to selected Makefiles
- fix return values (removed NULL as needed)
- disable warning about four-char-constants
- remove unneeded const from operator*() declaration
- add missing lambda function return types
- fix printf() with no format string
- change sizeof to use a type name instead of variable name
- fix Linux ProcessMonitor.cpp to be 32/64 bit friendly
- disable warnings emitted by swig-generated C++ code

Patch by Matt Kopec!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
d891f9b872103235cfd2ed452c6f14a4394d9b3a 05-Dec-2012 Daniel Malea <daniel.malea@intel.com> Fix Linux build warnings due to redefinition of macros:
- add new header lldb-python.h to be included before other system headers
- short term fix (eventually python dependencies must be cleaned up)

Patch by Matt Kopec!




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
5f35a4be95aed0e5b2cb36f7d785bcbfc67284ae 29-Nov-2012 Daniel Malea <daniel.malea@intel.com> Resolve printf formatting warnings on Linux:
- use macros from inttypes.h for format strings instead of OS-specific types

Patch from Matt Kopec!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
f7f5804a5e94f5e26c5d76d04778ee3ec04e12aa 22-Nov-2012 Daniel Malea <daniel.malea@intel.com> Remove call to StopMonitor() from ProcessMonitor::Detach()
- StopMonitor() is called anyways from ProcessMonitor destructor later
- resolves hang in TestEvents.py

Patch by Matt Kopec!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
5e91e379b3be10738ab5aeae87b47001de16cd7c 12-Oct-2012 Greg Clayton <gclayton@apple.com> Patch from Daniel Malea that cleans up the process parameters for Process/Thread classes for POSIX and Linux.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
d34a3b23c8a90f7c32cbb0b7a9e4899bfb7ff53c 12-Oct-2012 Greg Clayton <gclayton@apple.com> Modified patch from Matt Kopec that makes sure the run lock is acquired when attaching and makes sure the pid is being set on linux in the process info.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
1a450cd9bc58d024c81501fada890d6947720bbb 07-Sep-2012 Greg Clayton <gclayton@apple.com> Patch from Andrew Kaylor for linux:


The attached patch adds support for debugging 32-bit processes when running a 64-bit lldb on an x86_64 Linux system.

Making this work required two basic changes:

1) Getting lldb to report that it could debug 32-bit processes
2) Changing an assumption about how ptrace works when debugging cross-platform

For the first change, I took a conservative approach and only enabled this for x86_64 Linux platforms. It may be that the change I made in Host.cpp could be extended to other 64-bit Linux platforms, but I'm not familiar enough with the other platforms to know for sure.

For the second change, the Linux ProcessMonitor class was assuming that ptrace(PTRACE_[PEEK|POKE]DATA...) would read/write a "word" based on the child process word size. However, the ptrace documentation says that the "word" size read or written is "determined by the OS variant." I verified experimentally that when ptracing a 32-bit child from a 64-bit parent a 64-bit word is read or written.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
77147c2faa7339e04779df5c1e90db101a135fc3 07-Apr-2012 Benjamin Kramer <benny.kra@googlemail.com> Linux/ProcessMonitor: include sys/user.h for user_regs_struct and user_fpregs_struct.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
e5eaa30f62c697d649966c86acd4e3c52b39b355 21-Feb-2012 Greg Clayton <gclayton@apple.com> Linux fix patch from Dmitry Vyukov.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
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.cpp
ce65d2f8332713f396b76e414288b9543952584c 05-Nov-2011 Greg Clayton <gclayton@apple.com> Patch from Dragos Tatulea which was a modified version of a patch from
Joel Dillon that fixed 64 debugging for Linux.

I also added a patch to fix up the ProcessLinux::DoLaunch() to be up to date.
I wasn't able to verify it compiles, but it should b really close.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
3bf3a9df7a920591092ef13c735cb65854a29a35 18-Oct-2011 Johnny Chen <johnny.chen@apple.com> This patch fixes debugging of single threaded apps on Linux.
It also adds some asserts and additional logging support.

from dawn@burble.org


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
b8f74aa72802d82466d3beadf2bd58616d2d26a6 11-Oct-2011 Johnny Chen <johnny.chen@apple.com> Patch from dawn@burble.org to build on linux!


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
2f57b3d6d49c4ebf01cc057ad672ad692039383f 14-Jun-2011 Peter Collingbourne <peter@pcc.me.uk> Improve error reporting in ProcessMonitor::Launch

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
50f0e89f38d0c0ea694f5fd466103088962ecacc 14-Jun-2011 Peter Collingbourne <peter@pcc.me.uk> Fix mistakes relating to ProcessMonitor::DupDescriptor

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
6cf4fd1fe4ce3bab3dfda710e708eeb8c8d8ec72 14-Jun-2011 Peter Collingbourne <peter@pcc.me.uk> If ProcessMonitor::Launch fails, post semaphore to notify caller

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
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.cpp
d1fbbb4cc0f3d4c99ba0614ea99c2df533ee9a0f 23-Mar-2011 Stephen Wilson <wilsons@start.ca> linux: simple support for process input and output



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
b5dcb4692b71de4c54fd1ac771af4b09c6643540 09-Feb-2011 Stephen Wilson <wilsons@start.ca> linux: use IS_VALID_LLDB_HOST_THREAD.

Update the linux plugin code to use the new check for a valid host
thread introduced in r125067.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@125213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
25defecb21356b293793f361fa2f8c39fb2c1d34 15-Jan-2011 Stephen Wilson <wilsons@start.ca> Miscellaneous cleanups in ProcessMonitor.

Propagate the environment if one is not provided. Also, do not allocate the
monitor threads launch arguments on the stack.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123502 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp
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.cpp
4504bca12ccb19d9ddaa0f38bbd19b4bf8e6afc7 04-Jan-2011 Stephen Wilson <wilsons@start.ca> Replace old "CurrentThread" calls with equivalent "SelectedThread" calls.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@122834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
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.cpp