Fixed configure-based build on OS X.

This change adds a missing include path to the
ObjC LanguageRuntime path to the MacOSX SystemRuntime
plugin's Makefile.

It also adds the panel and curses library to the liblldb
shared library linkage step.

Changes by Jevin Sweval with a minor tweak.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202547 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify POSIXThread register context handling

This seems a little more straightforward and is equivalent to r201457
for ELF core files.  A case for FreeBSD i386 is also added (it was
incorrectly using the 64-bit register context and corrupting mememory).

Better (user-facing) error handling is still needed.

Review: http://llvm-reviews.chandlerc.com/D2765


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@202549 91177308-0d34-0410-b5e6-96231b3b80d8
Better error reporting when a variable can't be
read during materialization.  First of all, report
if we can't read the data for some reason.  Second,
consult the ValueObject's error and report that if
there's some problem.

<rdar://problem/16074201>


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