Don't dereference target if it is NULL. 

Caught by the clang static analyzer by Jason Molenda.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210941 91177308-0d34-0410-b5e6-96231b3b80d8
Add a check that we found an ABI plugin before calling a method on it.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210942 91177308-0d34-0410-b5e6-96231b3b80d8
Add documentation about the jThreadExtendedInfo packet.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210949 91177308-0d34-0410-b5e6-96231b3b80d8
Sync accumulated minor diffs in llgs branch gdb-remote tests.

I've been making some subtle changes to the gdb-remote tests as I implement
them in the llgs branch.  This check-in rectifies the set of diffs that
have accumulated in the llgs branch that were not present upstream.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210957 91177308-0d34-0410-b5e6-96231b3b80d8
Added gdb-remote expedited register dupe check.

The llgs branch had a bug where register sets were not terminated with
LLDB_INVALID_REGNUM so the expedite register loop was issuing duplicate
registers.  This test was added to catch the problem.

Enhanced the key-val collection method to optionally (and by default)
support capturing duplicate values for a given key.  When that happens
and if permitted, it promotes a single key to a list and appends values
to it.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210963 91177308-0d34-0410-b5e6-96231b3b80d8
Properly terminated POSIX register sets with LLDB_INVALID_REGNUM.

RegisterSets are assumed to be terminated by this value.  Loops over
register set values would fail without LLDB_INVALID_REGNUM terminating
the list.  This change adjusts the static check to account for the
size of the register set regnum list being one larger than the expected
valid register set count.


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