History log of /external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
1455203fc255aa7a9ac85d0e73d9b6dd73415e73 24-Jul-2013 Daniel Malea <daniel.malea@intel.com> Modify ProcessPOSIX to use the thread list mutex as needed
- should resolve (at least some) of the spurious crashes we are seeing in multithreaded tests on Linux (and likely FreeBSD)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
4c7dfad58aee0a15a2448225caa788fea052557e 04-Jul-2013 Ed Maste <emaste@freebsd.org> Avoid crash if we fail to resolve process in attach



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
45158a8974d3c938ac3ad087d569fc49c541acd0 03-Jul-2013 Ed Maste <emaste@freebsd.org> Update error message; detach-keeps-stopped is also not on FreeBSD



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185549 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
a807ceef5dad2b24e5bae5c5a193ff03aa7ec8d9 01-Jul-2013 Michael Sartain <mikesart@valvesoftware.com> Split symbol support for ELF and Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
52b8b7515dd20a56e25589f8a019cc5d89e2f3e9 26-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Remove unneeded limbo state flag.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185010 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
12c5bf31a5a3f96970b4101495ecbcc8449e12f6 03-Jun-2013 Matt Kopec <Matt.Kopec@intel.com> Fix setting of watchpoints on inferior thread creation for Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
6c1a8cfbb81ae38aee68f281b2af4010044cc00d 08-May-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding support for process attach by pid on Linux.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181374 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
761afb822b18c46b2ad84be03f372e90ac1e6143 02-May-2013 Jim Ingham <jingham@apple.com> Recommitting r180831 with trivial fix - remember to return errors if you compute.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180898 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
411ab47806a478d932926ef7a309ea37edf1f7e7 01-May-2013 Daniel Malea <daniel.malea@intel.com> Reverting 180831 as it crashes TestDefaultConstructorForAPIObjects.py



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
b4e08abf4972befc8412bc83a0205fbdc547290e 01-May-2013 Jim Ingham <jingham@apple.com> Added an option to "process detach" to keep the process stopped, if the process plugin (or in the
case of ProcessGDBRemote the stub we are talking to) know how to do that.

rdar://problem/13680832


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
0247cf5dde28bd9588e0e8daa27a2c9f95c408fb 01-Apr-2013 Daniel Malea <daniel.malea@intel.com> Fix bug in ProcessPOSIX::IsAlive() exposed by r178324
- process in 'unloaded' state was (incorrectly) considered to be alive by POSIX plugin
- above caused a regression in TestProcessLaunch cases



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
38cf9f75659bc95200c8b68e5760f46a4bb8a349 14-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Backout POSIX realtime lldb output. TestEvents.py is causing lldb to assert.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177076 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
e83813410b967cdee2871048ab525dabadd41b34 11-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Change Linux/POSIX to output inferior output in realtime.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
7012548b5056aeb1c0cd0a25fd93470544287151 01-Mar-2013 Matt Kopec <Matt.Kopec@intel.com> Fix string warning I introduced with indirect function support.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
4f9103faba72fdfc4b4299d6d459bc820ee597b2 27-Feb-2013 Matt Kopec <Matt.Kopec@intel.com> Add GNU indirect function support in expressions for Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176206 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
52d8dd99f9610d28e8f5bbec0de2efcfdafed026 15-Feb-2013 Daniel Malea <daniel.malea@intel.com> Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in POSIX plugin
- needed due to r175241



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175290 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
05a4789c81eb69467d492676bdfdbfa952ab3847 14-Dec-2012 Andrew Kaylor <andrew.kaylor@intel.com> Change crash handling to use eStateStopped rather than eStateCrashed.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
d35b7b3bfd21f4fd6b048693563eef1b772ae197 07-Dec-2012 Daniel Malea <daniel.malea@intel.com> More Linux warnings fixes (remove default labels as needed):
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations

Patch by Matt Kopec!




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
c643077dd2048204d78bc8b19629d0a3dca055fd 07-Sep-2012 Greg Clayton <gclayton@apple.com> Patch from Andrew Kaylor for linux:

The attached patch fixes a problem with performing an attach from the SBTarget API on Linux (and other systems that use ProcessPOSIX).

When Process::Attach was called from SBTarget, it resulted in a call to a form of the DoAttachWithID function that wasn't implemented in ProcessPOSIX, and so it fell back to the default implementation (which just returns an error). It didn't seem necessary to use the attach_info parameter for this case, so I just implemented it as a call to the simpler version of the function.

In debugging this problem, I also found that SBTarget wasn't checking the return value from the Attach call, causing it to hang when the attach fails.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163399 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
8ac035dd248b61846cb0cba7c7257dcdd600f749 04-Sep-2012 Greg Clayton <gclayton@apple.com> Patch from info from Daniel Malea that should fix the build on linux after fixes committed with revision 162860.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
78dae82bea7365f3a3501618c5d724a1a11d944f 14-Apr-2012 Johnny Chen <johnny.chen@apple.com> Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:

Hello everyone,

please find the attached patch for TOT and lldb-platform-work branch, which provides the following changes:
- fixed a crash in the ProcessPOSIX constructor when an executable module object is not yet created.
- added support for the multi instanciated FreeBSD platform objects (the local host and remote as example).
- enabled the remote gdb plugin on FreeBSD.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
c8dd570dddf0b73b74db5c1ecb8f18f023f864e7 12-Apr-2012 Greg Clayton <gclayton@apple.com> Remove the GetSequenceMutex timeout that isn't being used in the GDB remote plug-in.

Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
972c438c9f3c5f77e51f3a46088cd6d2372f87ad 30-Mar-2012 Greg Clayton <gclayton@apple.com> Patch from Viktor Kutuzov: fixes a segmentation fault crash in lldb in the ProcessPOSIX class when the object gets destroyed. I can reproduce this problem on the FreeBSD platform and it should be reproducable for the other platforms also.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.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/POSIX/ProcessPOSIX.cpp
2341d35bc77ffa8597a85b1ffe50b5653a2ec46d 05-Jan-2012 Johnny Chen <johnny.chen@apple.com> Fix incomplete commit of http://llvm.org/viewvc/llvm-project?rev=147609&view=rev:

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@147613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp