teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint
Zachary Turner 783550be62 Remove assumptions that thread 0 is always the main thread.
Starting with Windows 10, the Windows loader is itself multi-threaded,
meaning that the loader spins up a few threads to do process
initialization before it executes main.  Windows delivers these
notifications asynchronously and they can come out of order, so
we can't be sure that the first thread we get a notification about
is actually the zero'th thread.

This patch fixes this by requesting the thread stopped at the
breakpoint that was specified, rather than getting thread 0 and
verifying that it is stopped at a breakpoint.

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

llvm-svn: 258432
2016-01-21 21:07:30 +00:00
..
address_breakpoints Add the ability (through the SB API & command line) to specify an address 2015-11-17 03:39:13 +00:00
breakpoint_command Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
breakpoint_conditions [MIPS][LLDB]Fix TestBreakpointCondition.py for MIPS 2015-11-18 08:12:34 +00:00
breakpoint_ids Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
breakpoint_ignore_count Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
breakpoint_language Make the language specifier to "break set" actually filter the names by their language. So for 2015-11-06 22:48:59 +00:00
breakpoint_locations Update some XFAILs after the 3.8->3.9 version change 2016-01-14 12:49:48 +00:00
breakpoint_options Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
comp_dir_symlink Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
consecutive_breakpoins Remove assumptions that thread 0 is always the main thread. 2016-01-21 21:07:30 +00:00
cpp Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
cpp_exception Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
debugbreak On non-Windows platforms, asm int 3 generates an eStopReasonSignal. 2016-01-15 23:44:45 +00:00
dummy_target_breakpoints Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
inlined_breakpoints Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
objc Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00