A few more details on the DataVisualization class in our architectural doc. It is in dire need of expansion, but this is a start at least.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196176 91177308-0d34-0410-b5e6-96231b3b80d8
Remove the bad assumption that breakpoint locations won't get deleted in BreakpointLocationList::FindByID.

<rdar://problem/15566148>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196197 91177308-0d34-0410-b5e6-96231b3b80d8
Build up UnwindPlan::PlanValidAtAddress to recognize some general
indications that the UnwindPlan is invalid -- for instance, a
complete lack of rows, or a row that fails to define a register to
base the CFA off of.
<rdar://problem/15246247> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196201 91177308-0d34-0410-b5e6-96231b3b80d8
#include <Python.h>, not <Python/Python.h>.  The latter results in
the build being broken for people using the public Mac OS X 10.9 SDK, 
which does not have the Python framework any longer.  The Xcode project
file already sets the -I and -L flags correctly so that <Python.h> and
-lpython will work correctly with the system's installed Python.


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

Fix use of std::lower_bound to check for equality if a match is found to ensure we don't return the next breakpoint with an ID greater than the break_id that was asked for.




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196298 91177308-0d34-0410-b5e6-96231b3b80d8
Remove print statement when successfully setting the platform's working directory.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196308 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed up the framework includes to all be done in the extra linker options. We had a mix where some were being included via Xcode GUI and some were done in the extra linker flags. 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196309 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test to compile and run on iOS.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196313 91177308-0d34-0410-b5e6-96231b3b80d8
Updated the build settings for lldb-platform and lldb-gdbserver to include libxml2.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196320 91177308-0d34-0410-b5e6-96231b3b80d8
Fix log message for new invalidation checks in PlanValidAtAddress().  
Thanks to Ed and Greg for catching the incorrect logging statements.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196322 91177308-0d34-0410-b5e6-96231b3b80d8
Correct header guard #endif comments


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196381 91177308-0d34-0410-b5e6-96231b3b80d8
Added a new directory type for the "bool Host::GetLLDBPath (PathType path_type, FileSpec &file_spec)" function: ePathTypeLLDBTempSystemDir

This will get the temporary directory on the current system.

Removed a call to tmpnam() and replaced it with a call to mktemp() using a template that will be in the temp directory.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196397 91177308-0d34-0410-b5e6-96231b3b80d8
Switch local launching of debugserver over to always use a FIFO in order to handshake with the launched debugserver.

This helps ensure that the launched debugserver is ready and listening for a connection. Prior to this we had a race condition.

Consolidate the launching of debugserver into a single place: a static function in GDBRemoteCommunication.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196401 91177308-0d34-0410-b5e6-96231b3b80d8
Remove log line that was left in accidentally.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196403 91177308-0d34-0410-b5e6-96231b3b80d8
Enable POSIX_SPAWN_CLOEXEC_DEFAULT (a darwin specific flag) when available when using posix_spawn to spawn processes to close all file handles.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196404 91177308-0d34-0410-b5e6-96231b3b80d8
Allow the hostname to be specified when asking a platform to launch another debugserver in case you want to change it.

The GDB server remote platform how has the debugserver that are launched on iOS devices to use localhost due to the use of a USB mux.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196405 91177308-0d34-0410-b5e6-96231b3b80d8
Patch from Todd Fiala that install the lldb.py module in the prefix directory and also makes install fail if the prefix directory can't be accessed

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196413 91177308-0d34-0410-b5e6-96231b3b80d8
Provide an easy way for synthetic child provider front ends to declare themselves “invalid”
This is not being used yet, and in practice, more refactoring would be required to make this fully practical
In practice, the way this should work is that CalculateNumChildren(), GetChildAtIndex(), GetIndexOfChildWithName() and MightHaveChildren() should all default to failure values when m_valid == false. Update() should be the only function actually setting/clearing the flag upon inspecting the backend ValueObject, if it determines it to be in an incongruent state
Given refactoring of the FrontEnd APIs, this work could be automatically performed without the individual providers having to replicate this logic
The way this works now is that each front end picks one or more “key ivars” and keys off those to detect invalidity
This is a baby step 0 to a better world

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196452 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the build failure of lldb wrt clang recent change. Patch by Todd Fiala

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196483 91177308-0d34-0410-b5e6-96231b3b80d8
Revert: "Patch from Todd Fiala that install the lldb.py module in the prefix directory and also makes install fail if the prefix directory can't be accessed"

Does not respect the prefix




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