A baton isn't needed to dispatch input.

I also added a typemap to make DispatchInput usable in Python.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162204 91177308-0d34-0410-b5e6-96231b3b80d8
Added qVAttachOrWaitSupported packet support.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162207 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a crash (_wrap_SBDebugger_SetInputFileHandle -> PyString_AsString) running the test suite.
Also modify the boundary condition test case SBDebugger.DispatchInput(None) to be wrapped inside a try-except clause for now.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162228 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the wrong comment in TestUUIDMismatchWarnings.py.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162239 91177308-0d34-0410-b5e6-96231b3b80d8
SBValue::GetTypeName and SBValue::GetByteSize might have to update the dynamic value - which might involve running code.  So they need to take the stop lock & target locks.

<rdar://problem/12001204>


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


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

Watchpoint conditions were hitting watchpoint, smashing LLDB's stack.
Make sure watchpoint is properly disabled and subsequently enabled while performing watchpoint actions.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162322 91177308-0d34-0410-b5e6-96231b3b80d8
Remove the process->DisableWatchpoint() and EnableWatchpoint() calls since the sentry object is already doing that.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162323 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test failures in TestWatchpointIter.py due to http://llvm.org/viewvc/llvm-project?rev=162322&view=rev.


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

'add-dsym' (aka 'target symbols add') should display error messages when dsym file is not found
or the dsym uuid does not match any existing modules. Add TestAddDsymCommand.py test file.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162332 91177308-0d34-0410-b5e6-96231b3b80d8
Added a typemap and wrappers for SBInputReader callbacks

Now it's possible to use SBInputReader callbacks in Python.

We leak the callback object, unfortunately. A __del__ method can be added
to SBInputReader, but we have no way to check the callback function that
is on the reader. So we can't call Py_DECREF on it when we have our
PythonCallback function. One way to do it is to assume that reified
SBInputReaders always have a Python callback (and always call Py_DECREF).
Another one is to add methods or properties to SBInputReader (or make the
m_callback_function property public).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162356 91177308-0d34-0410-b5e6-96231b3b80d8
Added a test for the Python part of SBInputReader callbacks.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162357 91177308-0d34-0410-b5e6-96231b3b80d8
Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation:
- no setting auto completion
- very manual and error prone way of getting/setting variables
- tons of code duplication
- useless instance names for processes, threads

Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing".



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162366 91177308-0d34-0410-b5e6-96231b3b80d8
Fix wrong directory pathname.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162372 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a Linux building bug pointed out by Daniel Malea.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162373 91177308-0d34-0410-b5e6-96231b3b80d8
Remove further outdated "settings" code and also implement a few missing things.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162376 91177308-0d34-0410-b5e6-96231b3b80d8
Demonstrate how to use the config file and the pre-flight functionality to route the lldb gdb-remote log messages
into individually named log destinations.  In the simple usage-lldb-loggings example, we ran two cases which resulted
in two lldb_log files.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162378 91177308-0d34-0410-b5e6-96231b3b80d8
Modified .lldb-loggings now to direct the lldb log files to the same session directory which also houses the test logs.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162387 91177308-0d34-0410-b5e6-96231b3b80d8
Change the man page install phase to only run in "desktop" and "desktop-no-xpc" targets, not for the "ios" target.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162397 91177308-0d34-0410-b5e6-96231b3b80d8
Check that the data buffer is non-null before getting its file contents.

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