llvm-project/lldb/test
Jim Ingham 221d51cf84 Figure out the reply to "PlanExplainsStop" once when we stop and then use the cached
value.  This fixes problems, for instance, with the StepRange plans, where they know that
they explained the stop because they were at their "run to here" breakpoint, then deleted
that breakpoint, so when they got asked again, doh!  I had done this for a couple of plans
in an ad hoc fashion, this just formalizes it.

Also add a "ResumeRequested" in Process so that the code in the completion handlers can
tell the ShouldStop logic they want to resume rather than just directly resuming.  That allows 
us to handle resuming in a more controlled fashion.

Also, SetPublicState can take a "restarted" flag, so that it doesn't drop the run lock when
the target was immediately restarted.
--This line, and those below , will be ignored--

M    test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
M    include/lldb/Target/ThreadList.h
M    include/lldb/Target/ThreadPlanStepOut.h
M    include/lldb/Target/Thread.h
M    include/lldb/Target/ThreadPlanBase.h
M    include/lldb/Target/ThreadPlanStepThrough.h
M    include/lldb/Target/ThreadPlanStepInstruction.h
M    include/lldb/Target/ThreadPlanStepInRange.h
M    include/lldb/Target/ThreadPlanStepOverBreakpoint.h
M    include/lldb/Target/ThreadPlanStepUntil.h
M    include/lldb/Target/StopInfo.h
M    include/lldb/Target/Process.h
M    include/lldb/Target/ThreadPlanRunToAddress.h
M    include/lldb/Target/ThreadPlan.h
M    include/lldb/Target/ThreadPlanCallFunction.h
M    include/lldb/Target/ThreadPlanStepOverRange.h
M    source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.h
M    source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
M    source/Target/StopInfo.cpp
M    source/Target/Process.cpp
M    source/Target/ThreadPlanRunToAddress.cpp
M    source/Target/ThreadPlan.cpp
M    source/Target/ThreadPlanCallFunction.cpp
M    source/Target/ThreadPlanStepOverRange.cpp
M    source/Target/ThreadList.cpp
M    source/Target/ThreadPlanStepOut.cpp
M    source/Target/Thread.cpp
M    source/Target/ThreadPlanBase.cpp
M    source/Target/ThreadPlanStepThrough.cpp
M    source/Target/ThreadPlanStepInstruction.cpp
M    source/Target/ThreadPlanStepInRange.cpp
M    source/Target/ThreadPlanStepOverBreakpoint.cpp
M    source/Target/ThreadPlanStepUntil.cpp
M    lldb.xcodeproj/xcshareddata/xcschemes/Run Testsuite.xcscheme

llvm-svn: 181381
2013-05-08 00:35:16 +00:00
..
api/check_public_api_headers Fix check_public_api_headers test on mac os x, and refactor some logic into lldbtest.py 2013-05-02 21:44:31 +00:00
arm_emulation <rdar://problem/11358639> 2012-05-08 01:45:38 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks Test file renaming. 2012-04-23 17:54:40 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command Mark tests as expected fail for Linux due to not being able to call/print c++ demangled functions in the global namespace (bugzilla 15854). 2013-04-26 20:04:24 +00:00
functionalities Adding support for process attach by pid on Linux. 2013-05-07 22:46:38 +00:00
help Fixed the version test for darwin. 2013-04-03 00:04:27 +00:00
lang Figure out the reply to "PlanExplainsStop" once when we stop and then use the cached 2013-05-08 00:35:16 +00:00
logging Remove no-op code (since r175842) 2013-02-23 01:20:07 +00:00
macosx Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly 2012-09-22 00:05:11 +00:00
make Fix Makefile.rules where no icc is installed and -C gcc is used. 2013-03-15 21:55:13 +00:00
pexpect-2.4 Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. 2011-03-11 20:13:06 +00:00
plugins Update test scripts and Makefiles to allow testing with GCC: 2013-01-25 00:31:48 +00:00
python_api Add watchpoint support for Linux on 64-bit host. 2013-05-07 19:29:28 +00:00
settings Added tests to test for "settings set" with trailing whitespaces after the values. 2013-03-06 21:17:06 +00:00
source-manager Fixed the TestSourceManager.py test case to not fail. It was using the "list" alias which has now been turned into a regex command that mimics the GDB equivalent. Changed "list" to "source list" to get around this problem. 2013-02-06 00:35:33 +00:00
terminal Continue the cleanup started on r158737 2012-06-20 10:13:40 +00:00
types <rdar://problem/12798131> 2012-12-04 00:32:51 +00:00
unittest2 <rdar://problem/12362092> 2013-02-23 01:05:23 +00:00
warnings/uuid <rdar://problem/13092722> 2013-02-01 21:38:35 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
CMakeLists.txt Fix running of LLDB tests with cmake+ninja+ccache 2013-03-07 00:50:54 +00:00
Makefile Fix Makefile bug preventing tests from running when building lldb with ccache 2013-02-19 19:31:05 +00:00
README-TestSuite Add some descriptions about the default executable name being 'a.out' and can be overwritten 2011-07-28 21:15:39 +00:00
argparse_compat.py Include a small argparse compatibility layer for Python < 2.7 2013-02-16 09:05:23 +00:00
bench-history Add bench entries. 2011-11-29 19:13:38 +00:00
bench.py Establish a baseline for bench.py score by using a fixed lldb executable as the 2011-10-26 22:58:02 +00:00
blacklist.py Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed down to 2011-08-03 17:41:28 +00:00
dosep.ty Fix (failing) test name reporting on buildbots 2013-04-19 18:32:53 +00:00
dotest.py Making it possible to specify a substring for a category name as long as the match is unique 2013-05-07 00:36:28 +00:00
lldbbench.py Tests decorated with @benchmarks_test do not participate in the remote-macosx test suite run. 2012-04-19 23:50:00 +00:00
lldbtest.py Add watchpoint support for Linux on 64-bit host. 2013-05-07 19:29:28 +00:00
lldbutil.py Fixed incorrect python that was trying to validate that we got a valid lldb.SBThread object by checking to see if it is equal to "None". 2013-03-19 17:59:30 +00:00
progress.py The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) 2013-02-09 00:37:07 +00:00
redo.py The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator 2013-04-23 20:05:05 +00:00