Added gdb-remote auxv test for chunked reads.

Verifies that a sum of offset,length auxv reads
matches a single large read, and that the auxv data
extracted from them match.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211127 91177308-0d34-0410-b5e6-96231b3b80d8
Add locking around the m_owners collection in the breakpoint site.  If we are in the middle of "BreakpointLocation::ShouldStop" we don't
want other commands (like "break disable") to mutate the owners of this breakpoint out from under us.

<rdar://problem/17255589>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211136 91177308-0d34-0410-b5e6-96231b3b80d8
Add an option for debugserver to propagate its environment to programs it launches using the --forward-env or -F:

% ./debugserver --forward-env localhost:1234 -- /bin/ls
% ./debugserver -F localhost:1234 -- /bin/ls

Also allow new environment variables to be set using the "--env" or "-e":

% ./debugserver --env FOO=1 --env BAR=2 localhost:1234 -- /bin/ls
% ./debugserver -e FOO=1 -e BAR=2 localhost:1234 -- /bin/ls

<rdar://problem/17350654> 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211200 91177308-0d34-0410-b5e6-96231b3b80d8
Don't allow multiple line entries with the same address to exist sequentially.

The compiler, when JIT'ing code, can emit illegal DWARF line tables (address is line table sequences must increase). This changes fixes that issue by replacing previous line entries whose start address is the same with the new line entry to avoid having multiple line entries with the same address. Since the address range of lines entries is determined by the delta between the current and next line entry, this shouldn't cause any issues.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211212 91177308-0d34-0410-b5e6-96231b3b80d8
Add a lock in the UnwindTable class so two Targets won't try
to modify the same UnwindTable object simultaneously.  Fix
HistoryThread and HistoryUnwind's mutex lock acqusition to
retain the lock for the duration of the operation instead of
releasing the temporary immediately.
<rdar://problem/17055023>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211241 91177308-0d34-0410-b5e6-96231b3b80d8
Actually make a real scoped locker rather than constructing one that gets immediately thrown away... 


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