summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/FreeBSD
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix thread name updating in Linux. "thread list" should report correct names ↵Michael Sartain2013-07-311-2/+2
| | | | | | | | | | | 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 llvm-svn: 187545
* Fix i386 FreeBSD buildEd Maste2013-07-221-0/+2
| | | | llvm-svn: 186871
* Correct comment to match class nameEd Maste2013-07-171-1/+1
| | | | llvm-svn: 186509
* FreeBSD: Replace GetSignalInfo with GetLwpInfoEd Maste2013-07-172-16/+16
| | | | | | | For thread support we are going to need other members of struct ptrace_lwpinfo. llvm-svn: 186505
* Stop process monitor from ProcessPOSIX::FinalizeAndrew Kaylor2013-07-101-3/+2
| | | | llvm-svn: 186039
* Reverting ProcessMonitor shared pointer changesAndrew Kaylor2013-07-092-8/+8
| | | | llvm-svn: 185981
* Use shared pointers to hold the process in ProcessMonitorAndrew Kaylor2013-07-092-8/+8
| | | | llvm-svn: 185946
* Pass tid through to ptrace operationsEd Maste2013-07-041-27/+35
| | | | | | This change is equivalent to the Linux threading support. llvm-svn: 185671
* Remove empty files left behind from move to POSIX/Ed Maste2013-07-031-0/+0
| | | | llvm-svn: 185559
* Sync parts of FreeBSD Process plugin with LinuxEd Maste2013-07-022-42/+102
| | | | | | | | | | | | * Use PseudoTerminal to fix stdio handling / passthrough to the inferior process. * Add log messages equivalent to the Linux ones. * Port changes relating to process creation / termination. This revision contains changes equivalent to (parts of) SVN revisions 109318 142384 166055 168503 169645 177116 182809. llvm-svn: 185442
* Match printf format specifiers and argumentsEd Maste2013-06-251-2/+2
| | | | llvm-svn: 184854
* Sync FreeBSD files to Linux equivalents, to reduce noise in diffEd Maste2013-06-241-19/+18
| | | | | | | | | - Sort functions in the same order - Match whitespace - Remove commetned out code - Make filename in comments match filename llvm-svn: 184746
* Update comment to match class nameEd Maste2013-06-241-1/+1
| | | | llvm-svn: 184745
* Eliminate missing virtual destructor warning on FreeBSDEd Maste2013-06-241-0/+1
| | | | | | Akin to r181712 (88e529b7) of Linux/ProcessMonitor.cpp llvm-svn: 184742
* Fix FreeBSD build due to previous changes to ProcessMonitor::Detach.Matt Kopec2013-06-032-2/+2
| | | | llvm-svn: 183150
* FreeBSD cmake build fixes.Daniel Malea2013-05-311-0/+3
| | | | | | | | | - missing #include <cstdlib> in Mangled.cpp - missing include dirs in FreeBSD CMakeLists.txt Patch by Ed Maste! llvm-svn: 183032
* <rdar://problem/13854277>Greg Clayton2013-05-102-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <rdar://problem/13594769> Main changes in this patch include: - cleanup plug-in interface and use ConstStrings for plug-in names - Modfiied the BSD Archive plug-in to be able to pick out the correct .o file when .a files contain multiple .o files with the same name by using the timestamp - Modified SymbolFileDWARFDebugMap to properly verify the timestamp on .o files it loads to ensure we don't load updated .o files and cause problems when debugging The plug-in interface changes: Modified the lldb_private::PluginInterface class that all plug-ins inherit from: Changed: virtual const char * GetPluginName() = 0; To: virtual ConstString GetPluginName() = 0; Removed: virtual const char * GetShortPluginName() = 0; - Fixed up all plug-in to adhere to the new interface and to return lldb_private::ConstString values for the plug-in names. - Fixed all plug-ins to return simple names with no prefixes. Some plug-ins had prefixes and most ones didn't, so now they all don't have prefixed names, just simple names like "linux", "gdb-remote", etc. llvm-svn: 181631
* Fixed "log enable linux registers" and added a test.Ashok Thirumurthi2013-05-092-4/+4
| | | | | | | | | | - 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. llvm-svn: 181538
* Build fixes for FreeBSD 9.1.Ashok Thirumurthi2013-05-012-6/+35
| | | | | | | | - TODO: Support extended register sets on FreeBSD. Patch by Samuel Jacob. llvm-svn: 180879
* Platform-specific specialization for the GPR register file.Ashok Thirumurthi2013-05-011-43/+0
| | | | | | | | - Required for platform-independant handling of general purpose registers (i.e. for core dumps). Thanks to Samuel Jacob for this patch. llvm-svn: 180878
* After discussing with Chris Lattner, we require C++11, so lets get rid of ↵Greg Clayton2013-04-181-2/+2
| | | | | | the macros and just use C++11. llvm-svn: 179805
* Since we use C++11, we should switch over to using std::unique_ptr when ↵Greg Clayton2013-04-181-2/+2
| | | | | | | | 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. llvm-svn: 179779
* Fix the Linux build issues introduced by r178191.Ashok Thirumurthi2013-03-281-1/+1
| | | | | | | | | - 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
* Add Linux support for reading/writing extended register sets.Matt Kopec2013-03-201-2/+2
| | | | | | Patch by Ashok Thirumurthi. llvm-svn: 177568
* Rollback r177173. Some OSs may not have ptrace extensions which lldb expects ↵Matt Kopec2013-03-152-97/+5
| | | | | | when building. This needs to be accounted for. llvm-svn: 177176
* Add ptrace extensions to query a register set.Matt Kopec2013-03-152-5/+97
| | | | | | Patch by Ashok Thirumurthi. llvm-svn: 177173
* Improve/Cleanup ptrace wrapper and remove dependency on user.hMatt Kopec2013-03-062-10/+24
| | | | | | Patch by Ashok Thirumurthi. llvm-svn: 176558
* Adding CMake build system to LLDB. Some known issues remain:Daniel Malea2013-02-211-0/+6
| | | | | | | | | | | | | | - 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
* Implement -w flag to process launch (allow launching inferior process in ↵Daniel Malea2013-01-082-4/+20
| | | | | | | | different working directory) on Linux/FreeBSD - fixes test case TestProcessLaunch llvm-svn: 171854
* Allow reading registers by thread ID in ProcessMonitor (Linux implementation)Daniel Malea2012-12-182-12/+28
| | | | | | | | - make FreeBSD ProcessMonitor API thread-ready Patch by Matt Kopec! llvm-svn: 170445
* Fix Linux bug that leaves lldb in invalid state after expression evaluation ↵Daniel Malea2012-11-232-8/+11
| | | | | | | | | | | | 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 llvm-svn: 168523
* FreeBSD patch by Viktor KutuzovFilipe Cabecinhas2012-05-311-1/+1
| | | | llvm-svn: 157735
* Patch from Viktor Kutuzov <vkutuzov@accesssoftek.com>:Johnny Chen2012-04-141-4/+0
| | | | | | | | | | | 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 Pawel Worach to make FreeBSD work again after ModuleSpec changes.Greg Clayton2012-02-273-8/+16
| | | | llvm-svn: 151532
* Fix incomplete commit of ↵Johnny Chen2012-01-056-0/+2130
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