summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
AgeCommit message (Collapse)Author
2013-05-31Add ability to attach/detach to multi-threaded inferiors on Linux.Matt Kopec
All running threads will be detected and stopped on attach and all threads get resumed on detach. llvm-svn: 183049
2013-05-28Adding support for stopping all threads of multithreaded inferiors on Linux. ↵Andrew Kaylor
Also adding multithreaded test cases. llvm-svn: 182809
2013-05-07Adding support for process attach by pid on Linux.Andrew Kaylor
llvm-svn: 181374
2013-05-07Add watchpoint support for Linux on 64-bit host.Matt Kopec
llvm-svn: 181341
2013-05-02Recommitting r180831 with trivial fix - remember to return errors if you ↵Jim Ingham
compute. llvm-svn: 180898
2013-05-01Reverting 180831 as it crashes TestDefaultConstructorForAPIObjects.pyDaniel Malea
llvm-svn: 180868
2013-04-30Added an option to "process detach" to keep the process stopped, if the ↵Jim Ingham
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
2013-04-01Fix bug in ProcessPOSIX::IsAlive() exposed by r178324Daniel Malea
- process in 'unloaded' state was (incorrectly) considered to be alive by POSIX plugin - above caused a regression in TestProcessLaunch cases llvm-svn: 178493
2013-03-28Fix the Linux build issues introduced by r178191.Ashok Thirumurthi
- 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
2013-03-14Recommit lldb realtime output for POSIX.Matt Kopec
-Adds workaround for assertion in lldb for TestEvents.py llvm-svn: 177116
2013-03-14Backout POSIX realtime lldb output. TestEvents.py is causing lldb to assert.Matt Kopec
llvm-svn: 177076
2013-03-11Change Linux/POSIX to output inferior output in realtime.Matt Kopec
llvm-svn: 176833
2013-03-01Fix string warning I introduced with indirect function support.Matt Kopec
llvm-svn: 176360
2013-02-27Add GNU indirect function support in expressions for Linux.Matt Kopec
llvm-svn: 176206
2013-02-15Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in ↵Daniel Malea
POSIX plugin - needed due to r175241 llvm-svn: 175290
2013-01-08Add initial support to trace spawned threads in a process on Linux.Matt Kopec
llvm-svn: 171864
2013-01-08Implement -w flag to process launch (allow launching inferior process in ↵Daniel Malea
different working directory) on Linux/FreeBSD - fixes test case TestProcessLaunch llvm-svn: 171854
2012-12-14Change crash handling to use eStateStopped rather than eStateCrashed.Andrew Kaylor
llvm-svn: 170224
2012-12-07More Linux warnings fixes (remove default labels as needed):Daniel Malea
- 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
2012-12-05Fix Linux build warnings due to redefinition of macros:Daniel Malea
- 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
2012-11-29Resolve printf formatting warnings on Linux:Daniel Malea
- use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
2012-10-12Patch from Daniel Malea that cleans up the process parameters for ↵Greg Clayton
Process/Thread classes for POSIX and Linux. llvm-svn: 165806
2012-09-07Patch from Andrew Kaylor for linux:Greg Clayton
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
2012-09-04Patch from info from Daniel Malea that should fix the build on linux after ↵Greg Clayton
fixes committed with revision 162860. llvm-svn: 163139
2012-04-14Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:Johnny Chen
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
2012-04-12Remove the GetSequenceMutex timeout that isn't being used in the GDB remote ↵Greg Clayton
plug-in. Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype. llvm-svn: 154603
2012-03-30Patch from Viktor Kutuzov: fixes a segmentation fault crash in lldb in the ↵Greg Clayton
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
2012-02-21Linux fix patch from Dmitry Vyukov.Greg Clayton
llvm-svn: 151072
2012-01-05Fix incomplete commit of ↵Johnny Chen
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