History log of /external/lldb/source/Host/linux/Host.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7526625a76ca97a2637749b0cc4068bf0bd907fb 01-Aug-2013 Michael Sartain <mikesart@valvesoftware.com> Fix Linux Host::GetCurrentThreadID() to return real tid (not pthread_t).
This fixes threadname logging (--thread-name)
Add "-t" to TestLogging.py script to enable threadsafe and disable threadname logging



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
17c4bc477e3007db9d34f6f4947543f8ad946717 01-Aug-2013 Michael Sartain <mikesart@valvesoftware.com> Optimize Host::GetThreadName() to read from /proc/$TID per Matt's suggestion.

CR: mkopec



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187542 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
f476592805f813aa7a94f7d6770481503140aae2 25-Jul-2013 Ed Maste <emaste@freebsd.org> Set thread names on FreeBSD

Also move the logic to shorten thread names from linux/Host.cpp to a new
SetShortThreadName as both FreeBSD and Linux need the functionality.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187149 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
0bbfea68d47cc401b6f8309acc788d8224401ed6 17-Jul-2013 Michael Sartain <mikesart@valvesoftware.com> simple plugin now works with Linux fix assert in SetPluginInfo implement Linux ePathTypeLLDBSystemPlugins and ePathTypeLLDBUserPlugins implement Linux Host::Backtrace and Host::GetEnvironment add .gnu_debugdata comment

Differential Revision: http://llvm-reviews.chandlerc.com/D1159

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
9671f05a834b16d345d403410f6a6336e3f9c454 15-Jul-2013 Jason Molenda <jmolenda@apple.com> Commit Timothee Besset's patch to update Host/linux/Host.cpp to keep up
with the changes in r186211.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@186299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.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/Host/linux/Host.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/Host/linux/Host.cpp
0be9b3b58e6ba0929b325c4520d388aafed5891f 23-May-2013 Michael Sartain <mikesart@valvesoftware.com> ObjectFileELF::GetModuleSpecifications on Linux should work now.
Which means "platform process list" should work and list the architecture.
We are now parsing the elf build-id if it exists, which should allow us to load stripped symbols (looking at that next).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
519bc3c9372c6c50796a79e0923d851fed1b241c 17-May-2013 Michael Sartain <mikesart@valvesoftware.com> test commit

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
9b4c5483a697a45744975c395de08b06a6c7d1d0 15-May-2013 Daniel Malea <daniel.malea@intel.com> Implement "platform process list" on Linux
- read process information from /proc
- resolves llvm.org/pr14541 :)

Patch by Mike Sartain!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
024497728739eedffc9b79c28337fba22f07f8b4 13-May-2013 Matt Kopec <Matt.Kopec@intel.com> Add setting of lldb thread names on Linux.

Patch by Mike Sartain.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.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/Host/linux/Host.cpp
102b2c2681c9a830afe25bfea35557421905e42c 19-Apr-2013 Greg Clayton <gclayton@apple.com> After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
81a96aa6242f7b559770f5dc62316253cb8cb0d4 18-Apr-2013 Greg Clayton <gclayton@apple.com> Since we use C++11, we should switch over to using std::unique_ptr when 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.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@179779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.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/Host/linux/Host.cpp
7e9964783acae183c23a7ea470cedd64472eb233 05-Jan-2012 Johnny Chen <johnny.chen@apple.com> 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@147609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
527b2b9befeeacfb153403d519d65cc399c6883f 20-May-2011 Johnny Chen <johnny.chen@apple.com> API fix and missing headers.

Host.cpp was missing Error.h and the implementation of
LaunchProcess. Once againg I have added a "fake" implementation
waiting for a real one.

Fixed the call GetAddressRange to reflect the new interface in
DynamicLoaderLinuxDYLD.cpp.

Added string.h to ARM_DWARF_Registers.cpp that is needed for ::memset.

Signed-off-by: Johnny Chen <johnny.chen@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
76fd5dd398aefd482323212524289298b75d9a63 23-Mar-2011 Stephen Wilson <wilsons@start.ca> linux: add Host/linux subdirectory

Start putting linux specific host code in its own directory. For now, just
implement Host::GetOSVersion.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
8f3b21daa0d509ac49b2b82f45aaed35f6874502 07-Sep-2010 Greg Clayton <gclayton@apple.com> Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more
code between linux, darwin and BSD.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113263 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
49038f67b39084600318f7940d9532a053243490 23-Jul-2010 Greg Clayton <gclayton@apple.com> Remove a deadlock condition. A bit of explanation is needed: When calling
ThreadCancel in Host::WillTerminate g_monitor_thread may be blocked on a call
to pthread_cond_wait (for example, line 640). Now, by default, when a
cancellation request is serviced g_monitor_thread will again own the mutex
guarding the condition variable it was waiting on. This causes the call to
SetValue in Host::WillTerminate to hit a deadlock.

The call to SetValue does not appear to be needed, so removing it solves
the issue.

Patch from Stephen Wilson.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
5bc37a4cf42ad6c525240a5c9b954531dafa4af4 02-Jul-2010 Eli Friedman <eli.friedman@gmail.com> Implement GetProgramFileSpec().



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107502 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp
7c7c19d37de4ae8d455c18615fcce5691b236831 02-Jul-2010 Eli Friedman <eli.friedman@gmail.com> Add hacky, incomplete Linux host implementation; barely enough to allow
compiling lldb. Someone else might try to improve it, though. :)



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/source/Host/linux/Host.cpp