summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX
Commit message (Collapse)AuthorAgeFilesLines
* Backout POSIX realtime lldb output. TestEvents.py is causing lldb to assert.Matt Kopec2013-03-142-2/+28
| | | | llvm-svn: 177076
* Change Linux/POSIX to output inferior output in realtime.Matt Kopec2013-03-112-28/+2
| | | | llvm-svn: 176833
* Improve/Cleanup ptrace wrapper and remove dependency on user.hMatt Kopec2013-03-062-6/+6
| | | | | | Patch by Ashok Thirumurthi. llvm-svn: 176558
* 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-272-0/+16
| | | | llvm-svn: 176206
* Adding CMake build system to LLDB. Some known issues remain:Daniel Malea2013-02-211-0/+15
| | | | | | | | | | | | | | - generate-vers.pl has to be called by cmake to generate the version number - parallel builds not yet supported; dependency on clang must be explicitly specified Tested on Linux. - Building on Mac will require code-signing logic to be implemented. - Building on Windows will require OS-detection logic and some selective directory inclusion Thanks to Carlo Kok (who originally prepared these CMakefiles for Windows) and Ben Langmuir who ported them to Linux! llvm-svn: 175795
* Add i386 register support for the x86_64 RegisterContext plugin. This allows ↵Matt Kopec2013-02-193-229/+407
| | | | | | debugging a 32-bit inferior on 64-bit lldb/host. llvm-svn: 175543
* Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in ↵Daniel Malea2013-02-152-4/+4
| | | | | | | | POSIX plugin - needed due to r175241 llvm-svn: 175290
* Allow expression evaluation to work when multiple threads exist in the ↵Daniel Malea2013-02-131-0/+4
| | | | | | | | inferior (on Linux) - handle m_resume_state == eStateStopped || eStateSuspended in DoResume rather than asserting llvm-svn: 175094
* Fix buildbot building errors.Greg Clayton2013-01-254-8/+8
| | | | llvm-svn: 173473
* Add initial support to trace spawned threads in a process on Linux.Matt Kopec2013-01-087-4/+115
| | | | 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
* Fix TestSendSignals.py on Linux. The wrong stop reason was being set when ↵Matt Kopec2013-01-081-2/+1
| | | | | | stopping for a received signal. llvm-svn: 171819
* Adding eStopReasonThreadExiting and fixing the handling of this state on Linux.Andrew Kaylor2012-12-201-3/+3
| | | | llvm-svn: 170800
* Allow reading registers by thread ID in ProcessMonitor (Linux implementation)Daniel Malea2012-12-182-10/+10
| | | | | | | | - make FreeBSD ProcessMonitor API thread-ready Patch by Matt Kopec! llvm-svn: 170445
* Change crash handling to use eStateStopped rather than eStateCrashed.Andrew Kaylor2012-12-141-1/+2
| | | | llvm-svn: 170224
* Fix a few more clang (3.2) warnings on Linux:Daniel Malea2012-12-071-0/+4
| | | | | | | | | | | | | | | | | - 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! llvm-svn: 169645
* More Linux warnings fixes (remove default labels as needed):Daniel Malea2012-12-072-12/+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-052-0/+4
| | | | | | | | | - 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-293-8/+8
| | | | | | | | - use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
* Patch from Matt Kopec <matt.kopec@intel.com> to handle stepping into ↵Jim Ingham2012-10-301-2/+5
| | | | | | multiply-nested inlined code. llvm-svn: 167028
* Patch from Ashok Thirumurthi that enabled FPU registers for POSIX x86_64.Greg Clayton2012-10-241-4/+59
| | | | llvm-svn: 166604
* Patch from Daniel Malea that cleans up the process parameters for ↵Greg Clayton2012-10-123-4/+3
| | | | | | Process/Thread classes for POSIX and Linux. llvm-svn: 165806
* Patch from Andrew Kaylor for linux:Greg Clayton2012-09-072-0/+9
| | | | | | | | | | 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-122-3/+3
| | | | | | | | 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
* rdar://problem/10652076Johnny Chen2012-02-292-8/+8
| | | | | | | | | | | | | | | | | | | Initial step -- infrastructure change -- to fix the bug. Change the RegisterInfo data structure to contain two additional fields (uint32_t *value_rges and uint32_t *invalidate_regs) to facilitate architectures which have register mapping. Update all existing RegsiterInfo arrays to have two extra NULL's (the additional fields) in each row, GDBRemoteRegisterContext.cpp is modified to add d0-d15 and q0-q15 register info entries which take advantage of the value_regs field to specify the containment relationship: d0 -> (s0, s1) ... d15 -> (s30, s31) q0 -> (d0, d1) ... q15 -> (d30, d31) llvm-svn: 151686
* Linux fix patch from Dmitry Vyukov.Greg Clayton2012-02-217-46/+46
| | | | llvm-svn: 151072
* Fix incomplete commit of ↵Johnny Chen2012-01-0516-0/+3881
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