Update test class name and comment to match test


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202718 91177308-0d34-0410-b5e6-96231b3b80d8
Don't require a valid thread if expr can be evaluated statically

This seems reasonable and the BackticksWithNoTargetTestCase suggests it
should be this way.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202722 91177308-0d34-0410-b5e6-96231b3b80d8
Fix Windows build using portable types for formatting the log outputs

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202723 91177308-0d34-0410-b5e6-96231b3b80d8
Build liblldb.dll in Windows

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202724 91177308-0d34-0410-b5e6-96231b3b80d8
Move Windows getopt for building the DLL

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202725 91177308-0d34-0410-b5e6-96231b3b80d8
Check if the terminal is interactive and set the flags accordingly

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202726 91177308-0d34-0410-b5e6-96231b3b80d8
"size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed.

If you print anything with 'size_t', please cast it to "uint64_t" in the printf and use PRIu64 or PRIx64.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202738 91177308-0d34-0410-b5e6-96231b3b80d8
Only require thread scope when we're about to run the function on a thread.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202740 91177308-0d34-0410-b5e6-96231b3b80d8
Stop messages from being emitted out of order when detaching. 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202756 91177308-0d34-0410-b5e6-96231b3b80d8
Temporarily revert part of Greg's changes in r202738 which are causing problems with the testsuite and SBDebugger::CreateTarget().


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202776 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a couple of typo's in breakpoint descriptions.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202782 91177308-0d34-0410-b5e6-96231b3b80d8
Modified some test annotations so that tests on Linux that should be skipped don't show up as XFAIL.

The following two tests showed up as XFAIL even though they should
always be skipped on Linux, due to the @unittest2.expectedFailure
annotation appearing above the @dsym_test annotation:

TestObjCNewSyntax.ObjCNewSyntaxTestCase.test_expr_with_dsym
TestBlocks.BlocksTestCase.test_expr_with_dsym.

For those two, I simply moved the @dsym_test annotation to the top so
that it would be marked for skip ahead of being marked for XFAIL.

TestObjCNewSyntax.ObjCNewSyntaxTestCase.test_expr_with_dwarf I marked
as @skipIfLinux since my understanding is that isn't a valid test to
run on Linux. So rather than categorize as a fail (i.e. something
wrong to be fixed), just skip it. (My recent changes to Linux tests
have been following that model: if it could never work, skip; if it's
broken, mark XFAIL so we can easily track, fix, notice the fix and
adjust accordingly).

TestDeadStrip.DeadStripTestCase.test_with_dwarf I had previously
marked as XFAIL but this would never work on Linux with the current
linker AFAICT.  Marked it as skip.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202788 91177308-0d34-0410-b5e6-96231b3b80d8
Get Linux i386 running.

This change uses a fixed known offset for the Linux i386 DR0 register.
This change also undoes the 32-bit wordsize change from r169645 that
revolved around being 32-bit/64-bit friendly in
WriteRegOperation::Execute within the Linux ProcessMonitor.cpp. I ran
all the tests on x86_64 Linux with no failures. I also ran some simple
tests with 32-bit Linux exe on x86_64 host and 32-bit linux exe on
i686 32-bit host and these worked fine.

Note (from Todd): the UserData struct in the Linux i386 register
context (only used by Linux i386 host running Linux 32-bit inferior)
is out of sync with what shows up in the sys/user.h for an 32-bit
Linux build (per an earlier change of mine to make it look more like
x86_64 host running x86 exe). I think we should (1) make i386 Linux
targets run using the same register context (and correct ones) on i386
and x86_64 linux hosts if that is possible, and (2) we could use some
tests around the register handling, particularly to verify things like
DR0 registers are in the right spots on host/target combos that we can
verify vs. known correct values.

Change by Matthew Gardiner.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202887 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed SBDebugger.CreateTarget("filename") and also make sure remote targets don't pickup bogus locally cached files.

<rdar://problem/16217254>
<rdar://problem/16078651>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202890 91177308-0d34-0410-b5e6-96231b3b80d8
Hardened against reads in the IRMemoryMap that
exceed the bounds of the backing memory.

<rdar://problem/16088322>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202899 91177308-0d34-0410-b5e6-96231b3b80d8
Add ProcessGDBRemote::GetAuxvData() and fix multiple-packet concatenation for binary data.

ProcessGDBRemote::GetAuxvData obtains the auxv from a remote gdbserver (via a binary-data packet), and returns the data as a DataBufferSP.

The patch includes a small fix to GDBRemoteCommunicationClient::SendPacketsAndConcatenateResponses() to support binary file format packet returns (by not assuming each binary packet is a null-terminated string when concatenating them).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202907 91177308-0d34-0410-b5e6-96231b3b80d8
lldb-gdbserver: add support for optional host in connection string and handle other startup errors.

This change addresses the following bug:
http://www.llvm.org/bugs/show_bug.cgi?id=18814


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202910 91177308-0d34-0410-b5e6-96231b3b80d8
Small fix to DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule needed
with Greg's change to how we load modules in r202890.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202933 91177308-0d34-0410-b5e6-96231b3b80d8
Test commit.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202955 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for JIT debugging on Linux using the GDB JIT interface. Patch written with Keno Fischer.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202956 91177308-0d34-0410-b5e6-96231b3b80d8