Fix Linux bug that leaves lldb in invalid state after expression evaluation times out.
- Handle EINVAL return code from ptrace(GETSIGINFO, ...): not an error, but 'group-stop' state on Linux
- propagate SIGSTOP to inferior in above case
- this commit resolves the failure in expression_command/timeout testcase

Thanks to Sean Callanan & Matt Kopec for helping debug this problem



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168523 91177308-0d34-0410-b5e6-96231b3b80d8
Update test status on Linux
- add decorators @expectedFailLinux and @skipOnLinux
- skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426

Patch by Ashok Thirumurthi!



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168529 91177308-0d34-0410-b5e6-96231b3b80d8
Remove decorator to skip event tests
- hang resolved in r168503



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168530 91177308-0d34-0410-b5e6-96231b3b80d8
Skip objC test on non-darwin platforms



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168531 91177308-0d34-0410-b5e6-96231b3b80d8
Fix TestGlobalVariables.py (on Linux)
- setting LD_LIBRARY_PATH required for the test program to run correctly



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168595 91177308-0d34-0410-b5e6-96231b3b80d8
Missing “if (log)” on a log printf.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168602 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12723044> For 'process plugin packet send…', we just send it async by default

There is no good reason not to use async.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168606 91177308-0d34-0410-b5e6-96231b3b80d8
Fix for TestSharedLib.py (on Linux)
- use lldb 'settings' command to help testcase find shared library
- pull up dyldPath variable from TestLoadUnload.py to fixture base class (applicable in multiple cases)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168612 91177308-0d34-0410-b5e6-96231b3b80d8
Improvement to TestGlobalVariables fix
- use lldb settings command instead of os.environ
- use dyldPath fixture variable instead of hardcoding LD_LIBRARY_PATH
- add tear-down hook to restore environment after testcase is run



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168613 91177308-0d34-0410-b5e6-96231b3b80d8
The Function calling thread plan was replacing the stored stop info too soon, causing recursive entry into the
breakpoint StopInfo's PerformAction, which is bad.  Reworked this so that it is now correct.

<rdar://problem/12501259>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168634 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12636970>

Detect the new fixed clang that properly supports bitfields in objc classes.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168655 91177308-0d34-0410-b5e6-96231b3b80d8
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting
in errors on MacOS X for the tests so decorated.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168662 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12106825>

Allow the expression parser to see more than just data symbols. We now accept any symbol that has an address. We take precautions to only accept symbols by their mangled or demangled names only if the demangled name was not synthesized. If the demangled name is synthesized, then we now mark symbols accordingly and only compare against the mangled original name. 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168668 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12759744> Provide physical memory distribution as part of profile data

Make use of unix system calls to provide physical memory usage profile data.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168720 91177308-0d34-0410-b5e6-96231b3b80d8
Mark expected failures on Linux (due to bugzilla #14437)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168727 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12636970>

Properly detect the if unnamed bitfields are supported by clang if the major calng version is higher than 425.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168734 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12754509>
Make sure that ValueObjectDynamicValue clears itself when no dynamic type information can be found
This behavior was supposed to be already happening (as per the comment lines)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168743 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the debugserver Xcode project to allow
DebugClang builds of LLDB to build a properly
codesigned debugserver.  I did this by adding
a DebugClang configuration to debugserver that's
just a clone of the Debug configuration.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168746 91177308-0d34-0410-b5e6-96231b3b80d8
Fixing a silly typo in the previous patch

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168748 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/12639603>

Simplify the logging on ObjectFile::~ObjectFile() to not access an classes above the object file (like the module) so we don't crash when logging object lifetimes. The log message contains the "this" pointer value which can be matched up with the constructor log.



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