SBValue::Cast is deprecated. This does not work as reliably as free-form casting via the expression evaluator. Some of our clients depend on it, so we can't remove it. But any new adopters should favor the expression parser as the way forward

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221540 91177308-0d34-0410-b5e6-96231b3b80d8
This was meant to be count, not m_count

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221541 91177308-0d34-0410-b5e6-96231b3b80d8
Remove the top-level DebugDriverThread in ProcessWindows.

Originally the idea was that we would queue requests to a master
thread that would dispatch them to other slave threads each
responsible for debugging an individual process.  This might make
some scenarios more scalable and responsive, but for now it seems
to be unwarranted complexity for no observable benefit.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221561 91177308-0d34-0410-b5e6-96231b3b80d8
fix for unit tests finding path to LLDB.h  http://reviews.llvm.org/D6177

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221566 91177308-0d34-0410-b5e6-96231b3b80d8
LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221570 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a corner case with the handling of noreturn functions.
If a noreturn function was the last function in a section,
we wouldn't correctly back up the saved-pc value into the
correct section leading to us showing the wrong function in
the backtrace.

Also add a backtrace test with an attempt to elicit this 
particular layout.  It happens to work out with clang -Os
but other compilers may not quite get the same layout I'm
getting at that opt setting.  We'll still be exercising the
basic noreturn handling in the unwinder even if we don't get
one function at the very end of a section.

<rdar://problem/16051613> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221575 91177308-0d34-0410-b5e6-96231b3b80d8
Add a RegisterNumber class to RegisterContextLLDB.h and start using
it in RegisterContext.cpp.

There's a lot of bookkeeping code in RegisterContextLLDB where it has
to convert between different register numbering schemes and it makes 
some methods like SavedLocationForRegister very hard to read or
maintain.  Abstract all of the details about different register numbering
systems for a given register into this new class to make it easier 
to understand what the method is doing.

Also add register name printing to all of the logging -- that's easy to
get now that I've got an object to represent the register numbers.

There were some gnarly corner cases of this method that I believe
I've translated correctly - initial testing looks good but it's
possible I missed a corner case, especially with architectures which
uses a link-register aka return address register like arm32/arm64.
Basic behavior is correct but there are a lot of corner casese that are
handled in this method ...



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221577 91177308-0d34-0410-b5e6-96231b3b80d8
LLGS Android target support (r221570) missed adding some files: http://reviews.llvm.org/D6166

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221593 91177308-0d34-0410-b5e6-96231b3b80d8
Merge remote-tracking branch 'upstream/master' into gold trunk@221593
Merge branch 'gold' into dev-tot trunk@221593