| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 197065
|
| |
|
|
|
|
| |
This 'const' is not required and prevent us to defer the launch to the Host layer.
llvm-svn: 196837
|
| |
|
|
|
|
|
| |
Modelled in part on GDBRemoteCommunicationClient.
Review: http://llvm-reviews.chandlerc.com/D2267
llvm-svn: 196787
|
| |
|
|
|
|
|
|
|
| |
Just pass a Target* into ObjectFileELF::GetImageInfoAddress so that
it can do the extra dereference necessary on MIPS, instead of passing
a flag back to the caller.
Review: http://llvm-reviews.chandlerc.com/D1899
llvm-svn: 192469
|
| |
|
|
|
|
|
|
|
|
| |
MIPS's .dyanamic section is read-only. Instead of using DT_DEBUG for
the pointer to dyld information it uses a separate tag DT_MIPS_RLD_MAP
which points to storage in the read-write .rld_map section, which in
turn points to the dyld information.
Review: http://llvm-reviews.chandlerc.com/D1890
llvm-svn: 192408
|
| |
|
|
| |
llvm-svn: 192319
|
| |
|
|
| |
llvm-svn: 190831
|
| |
|
|
|
|
|
|
| |
Instead of directly manipulating the thread list in Launch and Attach,
just rely on RefreshStateAfterStop to populate the initial list.
Review: http://llvm-reviews.chandlerc.com/D1565
llvm-svn: 189889
|
| |
|
|
|
|
|
|
|
| |
On Linux there is no separate notion of a process (vs. a thread) for
ptrace(); each thread needs to be individually detached. On FreeBSD
we have a separate process context, and we detach just it.
Review: http://llvm-reviews.chandlerc.com/D1418
llvm-svn: 189666
|
| |
|
|
|
|
| |
This fixes a crash on FreeBSD
llvm-svn: 189607
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This merge brings in the improved 'platform' command that knows how to
interface with remote machines; that is, query OS/kernel information, push
and pull files, run shell commands, etc... and implementation for the new
communication packets that back that interface, at least on Darwin based
operating systems via the POSIXPlatform class. Linux support is coming soon.
Verified the test suite runs cleanly on Linux (x86_64), build OK on Mac OS
X Mountain Lion.
Additional improvements (not in the source SVN branch 'lldb-platform-work'):
- cmake build scripts for lldb-platform
- cleanup test suite
- documentation stub for qPlatform_RunCommand
- use log class instead of printf() directly
- reverted work-in-progress-looking changes from test/types/TestAbstract.py that work towards running the test suite remotely.
- add new logging category 'platform'
Reviewers: Matt Kopec, Greg Clayton
Review: http://llvm-reviews.chandlerc.com/D1493
llvm-svn: 189295
|
| |
|
|
| |
llvm-svn: 187995
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
- should resolve (at least some) of the spurious crashes we are seeing in multithreaded tests on Linux (and likely FreeBSD)
llvm-svn: 187081
|
| |
|
|
| |
llvm-svn: 186039
|
| |
|
|
| |
llvm-svn: 186033
|
| |
|
|
| |
llvm-svn: 185981
|
| |
|
|
| |
llvm-svn: 185946
|
| |
|
|
|
|
|
|
| |
multi-threaded programs.
Also fix a related issue where if a thread exits after a thread continue, lldb would hang.
llvm-svn: 185944
|
| |
|
|
| |
llvm-svn: 185661
|
| |
|
|
| |
llvm-svn: 185549
|
| |
|
|
| |
llvm-svn: 185366
|
| |
|
|
| |
llvm-svn: 185010
|
| |
|
|
| |
llvm-svn: 183139
|
| |
|
|
|
|
| |
All running threads will be detected and stopped on attach and all threads get resumed on detach.
llvm-svn: 183049
|
| |
|
|
|
|
| |
Also adding multithreaded test cases.
llvm-svn: 182809
|
| |
|
|
| |
llvm-svn: 181374
|
| |
|
|
| |
llvm-svn: 181341
|
| |
|
|
|
|
| |
compute.
llvm-svn: 180898
|
| |
|
|
| |
llvm-svn: 180868
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
- process in 'unloaded' state was (incorrectly) considered to be alive by POSIX plugin
- above caused a regression in TestProcessLaunch cases
llvm-svn: 178493
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
-Adds workaround for assertion in lldb for TestEvents.py
llvm-svn: 177116
|
| |
|
|
| |
llvm-svn: 177076
|
| |
|
|
| |
llvm-svn: 176833
|
| |
|
|
| |
llvm-svn: 176360
|
| |
|
|
| |
llvm-svn: 176206
|
| |
|
|
|
|
|
|
| |
POSIX plugin
- needed due to r175241
llvm-svn: 175290
|
| |
|
|
| |
llvm-svn: 171864
|
| |
|
|
|
|
|
|
| |
different working directory) on Linux/FreeBSD
- fixes test case TestProcessLaunch
llvm-svn: 171854
|
| |
|
|
| |
llvm-svn: 170224
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- use macros from inttypes.h for format strings instead of OS-specific types
Patch from Matt Kopec!
llvm-svn: 168945
|
| |
|
|
|
|
| |
Process/Thread classes for POSIX and Linux.
llvm-svn: 165806
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
fixes committed with revision 162860.
llvm-svn: 163139
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
plug-in.
Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype.
llvm-svn: 154603
|