Adapt test to avoid short string types.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204295 91177308-0d34-0410-b5e6-96231b3b80d8
Core: preprocess out TestPromptFormats

TestPromptFormats appears as though it may be a useful unit test.
Unfortunately, there is no invocation mechanism in place right now.  It is
unclear how to add a unit test for this scenario to the existing tests.  It
would be ideal to remove this entirely, but I am hopeful that this can/will be
pulled out into a test still since it uses a user accessible interface.

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

This is a mechanical cleanup of unused functions.  In the case where the
functions are referenced (in comment form), I've simply commented out the
functions.  A second pass to clean that up is warranted.

The functions which are otherwise unused have been removed.  Some of these were
introduced in the initial commit and not in use prior to that point!

NFC

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204310 91177308-0d34-0410-b5e6-96231b3b80d8
cmake: fix build with CompilerRT

A redefinition of append_if in CompilerRTUtils causes the append_if to fail.
Manually append the values to the flags.

Thanks to Kuba Ober for pointing this out!

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204311 91177308-0d34-0410-b5e6-96231b3b80d8
Change the type in va_arg call from char to int.
It is supposed to take fully promoted types.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204336 91177308-0d34-0410-b5e6-96231b3b80d8
Only define MAX_PATH if it is not defined already.
This gets rid of a lot warnings when compiling with mingw.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204343 91177308-0d34-0410-b5e6-96231b3b80d8
Guard against reading from host address of 0 in getting the data from a Value.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204359 91177308-0d34-0410-b5e6-96231b3b80d8
Quiet Clang warning about signed/unsigned comparison


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204360 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for dumping DW_LNE_set_discriminator line table extended entries.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204369 91177308-0d34-0410-b5e6-96231b3b80d8
Switch over to use the ArchSpec::GetMachine() instead of ArchSpec::GetCore() to keep the code more portable as we add new core types to ArchSpec.



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



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204402 91177308-0d34-0410-b5e6-96231b3b80d8
More cleanup of win32.h.
PATH_MAX is defined if it is not already defined. A duplicate
definition is removed. The declaration of struct timespec is moved
outside #ifdef _MSC_VER to make it available for mingw.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204449 91177308-0d34-0410-b5e6-96231b3b80d8
Don't build LLDBWrapPython.cpp for mingw.
Previous check relied on -DLLDB_DISABLE_PYTHON which was not valid as
it is defined in the top level LLDB Makefile which is included after the check.
If this check is moved after the inclusion of top level Makefile then 
BUILT_SOURCES is not properly handled. So I am using the scheme present
in the Host/Makefile.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204459 91177308-0d34-0410-b5e6-96231b3b80d8
Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in POSIXThread, instead just let StopInfo handle it.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204504 91177308-0d34-0410-b5e6-96231b3b80d8
If a single step ends on a breakpoint, it should be reported as a breakpoint hit
even though the underlying exception is a trace exception.

<rdar://problem/15243355>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204534 91177308-0d34-0410-b5e6-96231b3b80d8
Cleanup some dead assignements reported by scan-build

No functionnal change.

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