Refactored existing gdb-remote qProcessInfo tests into separate python file.

I'm about to add some more qProcessInfo tests so I wanted to first pull them out
of the monolithic TestLldbGdbServer test case class.

Related to http://llvm.org/bugs/show_bug.cgi?id=20755


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216465 91177308-0d34-0410-b5e6-96231b3b80d8
Fix llgs to send triple for non-Apple platforms and lldb to interpret correctly.

This change addresses this bug:
http://llvm.org/bugs/show_bug.cgi?id=20755

This change:
* Modifies llgs to send triple instead of cputype and cpusubtype when not on Apple platforms in qProcessInfo.
* Modifies lldb's GDBRemoteCommunicationClient to handle the triple returned from qProcessInfo if given.
  When given, it will prefer to use triple over cputype and cpusubtype.
* Adds gdb-remote protocol tests to verify that cputype and cpusubtype are specified on darwin, and that triple is specified on Linux.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216470 91177308-0d34-0410-b5e6-96231b3b80d8
Added a couple more gdb-remote tests to ensure qProcessInfo on darwin is not defining triple.

And likewise for qProcessInfo on Linux, but ensures cputype/cpusubtype is not defined.  The
Apple case is the more important one, since we take a slightly different path to initialize
ProcessGDBRemote-related remote host/process info if triple is present.

Related to http://llvm.org/bugs/show_bug.cgi?id=20755.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216473 91177308-0d34-0410-b5e6-96231b3b80d8
Add an API on ValueObject to generate a 'synthetic child' of base class type. Note that in this commit, the term synthetic child is not meant to refer to data formatters, but to the programmatically-generated children stored inside a ValueObject itself

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216483 91177308-0d34-0410-b5e6-96231b3b80d8
[dwarf] Add new language enumerations.

This updates the DWARF language identifiers to include recent additions to
the DWARF 5 specification (draft).


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216486 91177308-0d34-0410-b5e6-96231b3b80d8
It was pointed out to me that an offset of 0 makes sense for ObjC, but not always for C++, and this API claims to be general enough that it should not drop C++ usability on the floor for no good reason. Fix it with an explicit offset argument

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216487 91177308-0d34-0410-b5e6-96231b3b80d8
Don't have ProcessMachCore::CanDebug use the Target's arch when
creating the ModuleSpec to load the core file - we won't have a fat
core file and we can end up with cpu subtype mismatches if the core
file header isn't written out completely accurately.  We need to
be a little loose in this particular case.
<rdar://problem/17843388>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216498 91177308-0d34-0410-b5e6-96231b3b80d8
There seems to be no sane reason for a test case to enable logging every time it runs.. probably leftover from when I was debugging it

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216502 91177308-0d34-0410-b5e6-96231b3b80d8
Clean up after the multithreaded test case finishes.

Patch by Sean Callanan.
<rdar://problem/18140875> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216504 91177308-0d34-0410-b5e6-96231b3b80d8
Add __NSCFDictionary to the list of NSDictionary-like types for which we know to generate synthetic children

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216513 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for kalimba architecture variants 3, 4 and 5.
Add entries to core_definitions and elf_arch_entries for
those variants. Select the subtype for the variant by parsing
the e_flags field of the elf header.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216541 91177308-0d34-0410-b5e6-96231b3b80d8
Add Linux support for get thread area on ARM64 using ProcessMonitor debugging.

See http://reviews.llvm.org/D5073.

Change by Paul Osmialowski.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216553 91177308-0d34-0410-b5e6-96231b3b80d8
lldb Missing break statement added.

See http://reviews.llvm.org/D5069.

Change by Paul Osmialowski.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216554 91177308-0d34-0410-b5e6-96231b3b80d8
lldb AArch64 should be listed as yet another 64-bit architecture in HostInfoBase.

See http://reviews.llvm.org/D5070.

Change by Paul Osmialowski.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@216556 91177308-0d34-0410-b5e6-96231b3b80d8
lldb Missing ARM64 breakpoint opcode for ProcessPOSIX added.

See http://reviews.llvm.org/D5078.

Change by Paul Osmialowski.


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