llvm-project/lldb/test
Ilia K 38810f430b Fix handling of hijacked events in synchronous mode
Summary:
This patch includes the following changes:
* Fix Target::Launch to handle hijacked event in synchronous mode
* Improve MiStartupOptionsTestCase tests to expect *stopped (MI)
* Add SBProcess::GetStopEventForStopID
* Add ProcessModID::SetStopEventForLastNaturalStopID/GetStopEventForStopID
* Add const qualifier to ProcessModID::GetLastNaturalStopID
* Add SBProcess::GetStopEventForStopID
* Don't broadcast hijacked event in Target::Launch
* Add CMICmnLLDBDebugger::CheckIfNeedToRebroadcastStopEvent/RebroadcastStopEvent

Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/startup_options/

Reviewers: zturner, jingham, clayborg, abidh

Reviewed By: clayborg

Subscribers: abidh, zturner, lldb-commits, clayborg, jingham

Differential Revision: http://reviews.llvm.org/D9371

llvm-svn: 237781
2015-05-20 10:15:47 +00:00
..
api TestPublicAPIHeaders.py - Changed expectedFailureDarwin to skipIfDarwin 2015-05-12 05:18:06 +00:00
arm_emulation Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. 2013-12-10 23:19:29 +00:00
attic Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
benchmarks Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
driver/batch_mode Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
example Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
expression_command XFAIL'd some flakey tests on Darwin 2015-05-17 15:32:14 +00:00
functionalities Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
help Fix help test cases after r226068 2015-01-20 15:13:01 +00:00
lang Working on getting the OSX build green 2015-05-12 02:20:27 +00:00
linux/builtin_trap Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
logging Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
macosx Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
make Disable GCC optimizations for builtin functions in lldb tests 2015-05-12 12:13:12 +00:00
pexpect-2.4 Eliminate kernel warning when running tests on FreeBSD 2014-02-18 21:33:10 +00:00
plugins Append to CFLAGS_EXTRAS and LD_EXTRAS when building cmdline. 2015-04-16 09:18:12 +00:00
python_api Added minor comment 2015-05-12 20:55:43 +00:00
settings Add --move-to-nearest-code / target.move-to-nearest-code options (attempt 2) 2015-05-18 13:41:01 +00:00
source-manager During source manager test, write back the file using binary mode. 2015-01-15 22:53:44 +00:00
terminal Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
tools Fix handling of hijacked events in synchronous mode 2015-05-20 10:15:47 +00:00
types XFAIL'd some flakey tests on Darwin 2015-05-17 15:32:14 +00:00
unittest2 Added a simple legend to the unit test 'dots' output, to aid understandability. 2013-09-25 20:47:51 +00:00
warnings/uuid Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00
CMakeLists.txt Add a method to disable the Windows crash / assert dialogs. 2014-12-12 18:10:52 +00:00
Makefile Revert test/Makefile to state before r232205 2015-03-13 22:33:42 +00:00
README-TestSuite Comment discouraging writing command based test cases. 2015-03-18 23:16:58 +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
bench.py
blacklist.py
crashinfo.c Alignment fix 2014-01-08 03:14:18 +00:00
dosep.py Mark TestEvents as XTIMEOUT on Linux 2015-05-19 10:49:40 +00:00
dotest.py dotest - minor doc fix 2015-05-19 05:10:22 +00:00
dotest_args.py Refactored dotest arg parser so that it's accessible from dosep 2015-05-18 19:40:54 +00:00
lldbbench.py
lldbinline.py TestCModules - fixed for gcc 2015-05-04 06:26:13 +00:00
lldbpexpect.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbplatformutil.py Make several test case arm32 compatible 2015-04-17 09:37:06 +00:00
lldbtest.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbtest_config.py Refactored lldb executable name discovery 2015-05-18 19:39:03 +00:00
lldbutil.py Add --move-to-nearest-code / target.move-to-nearest-code options (attempt 2) 2015-05-18 13:41:01 +00:00
lock.py Darwin - fix intermitent crashes in import crashinfo 2015-05-13 05:00:23 +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