summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ability to attach/detach to multi-threaded inferiors on Linux.Matt Kopec2013-05-311-2/+9
| | | | | | All running threads will be detected and stopped on attach and all threads get resumed on detach. llvm-svn: 183049
* Adding support for stopping all threads of multithreaded inferiors on Linux. ↵Andrew Kaylor2013-05-281-36/+81
| | | | | | Also adding multithreaded test cases. llvm-svn: 182809
* Adding support for process attach by pid on Linux.Andrew Kaylor2013-05-071-1/+34
| | | | llvm-svn: 181374
* Add watchpoint support for Linux on 64-bit host.Matt Kopec2013-05-071-0/+128
| | | | llvm-svn: 181341
* Recommitting r180831 with trivial fix - remember to return errors if you ↵Jim Ingham2013-05-021-1/+8
| | | | | | compute. llvm-svn: 180898
* Reverting 180831 as it crashes TestDefaultConstructorForAPIObjects.pyDaniel Malea2013-05-011-8/+1
| | | | llvm-svn: 180868
* Added an option to "process detach" to keep the process stopped, if the ↵Jim Ingham2013-04-301-1/+8
| | | | | | | | | | process plugin (or in the case of ProcessGDBRemote the stub we are talking to) know how to do that. rdar://problem/13680832 llvm-svn: 180831
* Fix bug in ProcessPOSIX::IsAlive() exposed by r178324Daniel Malea2013-04-011-1/+4
| | | | | | | - process in 'unloaded' state was (incorrectly) considered to be alive by POSIX plugin - above caused a regression in TestProcessLaunch cases llvm-svn: 178493
* Fix the Linux build issues introduced by r178191.Ashok Thirumurthi2013-03-281-3/+3
| | | | | | | | | - 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. llvm-svn: 178242
* Recommit lldb realtime output for POSIX.Matt Kopec2013-03-141-22/+2
| | | | | | -Adds workaround for assertion in lldb for TestEvents.py llvm-svn: 177116
* Backout POSIX realtime lldb output. TestEvents.py is causing lldb to assert.Matt Kopec2013-03-141-2/+22
| | | | llvm-svn: 177076
* Change Linux/POSIX to output inferior output in realtime.Matt Kopec2013-03-111-22/+2
| | | | llvm-svn: 176833
* Fix string warning I introduced with indirect function support.Matt Kopec2013-03-011-1/+2
| | | | llvm-svn: 176360
* Add GNU indirect function support in expressions for Linux.Matt Kopec2013-02-271-0/+13
| | | | llvm-svn: 176206
* Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in ↵Daniel Malea2013-02-151-2/+2
| | | | | | | | POSIX plugin - needed due to r175241 llvm-svn: 175290
* Add initial support to trace spawned threads in a process on Linux.Matt Kopec2013-01-081-2/+21
| | | | llvm-svn: 171864
* Implement -w flag to process launch (allow launching inferior process in ↵Daniel Malea2013-01-081-1/+13
| | | | | | | | different working directory) on Linux/FreeBSD - fixes test case TestProcessLaunch llvm-svn: 171854
* Change crash handling to use eStateStopped rather than eStateCrashed.Andrew Kaylor2012-12-141-1/+2
| | | | llvm-svn: 170224
* More Linux warnings fixes (remove default labels as needed):Daniel Malea2012-12-071-4/+0
| | | | | | | | - as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations Patch by Matt Kopec! llvm-svn: 169633
* Fix Linux build warnings due to redefinition of macros:Daniel Malea2012-12-051-0/+2
| | | | | | | | | - 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! llvm-svn: 169341
* Resolve printf formatting warnings on Linux:Daniel Malea2012-11-291-5/+5
| | | | | | | | - use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
* Patch from Daniel Malea that cleans up the process parameters for ↵Greg Clayton2012-10-121-2/+1
| | | | | | Process/Thread classes for POSIX and Linux. llvm-svn: 165806
* Patch from Andrew Kaylor for linux:Greg Clayton2012-09-071-0/+6
| | | | | | | | | | 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. llvm-svn: 163399
* Patch from info from Daniel Malea that should fix the build on linux after ↵Greg Clayton2012-09-041-0/+1
| | | | | | fixes committed with revision 162860. llvm-svn: 163139
* Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:Johnny Chen2012-04-141-2/+4
| | | | | | | | | | | 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. llvm-svn: 154724
* Remove the GetSequenceMutex timeout that isn't being used in the GDB remote ↵Greg Clayton2012-04-121-2/+2
| | | | | | | | plug-in. Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype. llvm-svn: 154603
* Patch from Viktor Kutuzov: fixes a segmentation fault crash in lldb in the ↵Greg Clayton2012-03-301-1/+1
| | | | | | 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. llvm-svn: 153769
* Linux fix patch from Dmitry Vyukov.Greg Clayton2012-02-211-2/+4
| | | | llvm-svn: 151072
* Fix incomplete commit of ↵Johnny Chen2012-01-051-0/+594
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. llvm-svn: 147613
OpenPOWER on IntegriCloud