mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 16:41:27 +00:00
Reversed r238363, because the message is inconsistent
with all the other assertion messages. llvm-svn: 241212
This commit is contained in:
parent
03855df197
commit
05834cd2ad
@ -79,7 +79,7 @@ class SBDirCheckerCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, self.source, self.line_to_break, num_expected_locations = -1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class TestBenchmarkContinue(BenchBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "// break here"))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -42,7 +42,7 @@ class ExprCommandCallFunctionTestCase(TestBase):
|
||||
# Some versions of GCC encode two locations for the 'return' statement in main.cpp
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("print str",
|
||||
substrs = ['Hello world'])
|
||||
|
@ -42,7 +42,7 @@ class ExprCommandCallStopContinueTestCase(TestBase):
|
||||
# Some versions of GCC encode two locations for the 'return' statement in main.cpp
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.func_line, num_expected_locations=-1, loc_exact=True)
|
||||
|
||||
|
@ -49,7 +49,7 @@ class ExprFormattersTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.runCmd("script import formatters")
|
||||
self.runCmd("script import foosynth")
|
||||
|
||||
|
@ -44,7 +44,7 @@ class PersistObjCPointeeType(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("p *self", substrs=['_sc_name = nil',
|
||||
'_sc_name2 = nil',
|
||||
|
@ -40,7 +40,7 @@ class PersistentPtrUpdateTestCase(TestBase):
|
||||
|
||||
self.runCmd('break set -p here')
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("expr void* $foo = nullptr")
|
||||
|
||||
|
@ -19,7 +19,7 @@ class PersistenttypesTestCase(TestBase):
|
||||
|
||||
self.runCmd("breakpoint set --name main")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("expression struct $foo { int a; int b; };")
|
||||
|
||||
|
@ -19,7 +19,7 @@ class PersistentVariablesTestCase(TestBase):
|
||||
|
||||
self.runCmd("breakpoint set --source-pattern-regexp break")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("expression int $i = i")
|
||||
|
||||
|
@ -48,7 +48,7 @@ class PoVerbosityTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("expr -O -v -- foo",
|
||||
substrs = ['(id) $',' = 0x', '1 = 2','2 = 3;'])
|
||||
|
@ -19,7 +19,7 @@ class Radar8638051TestCase(TestBase):
|
||||
|
||||
self.runCmd("breakpoint set -n c")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("expression val",
|
||||
startstr = "(int) $0 = 1")
|
||||
|
@ -21,7 +21,7 @@ class Radar9531204TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_symbol (self, 'foo', sym_exact=True, num_expected_locations=1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("frame variable")
|
||||
|
||||
|
@ -28,7 +28,7 @@ class Radar9673644TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, self.main_source, self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# rdar://problem/9673664 lldb expression evaluation problem
|
||||
|
||||
|
@ -41,7 +41,7 @@ class BasicExprCommandsTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
@unittest2.expectedFailure("llvm.org/pr17135 <rdar://problem/14874559> APFloat::toString does not identify the correct (i.e. least) precision.")
|
||||
def test_floating_point_expr_commands(self):
|
||||
@ -201,7 +201,7 @@ class BasicExprCommandsTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line, num_expected_locations=1,loc_exact=False)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# runCmd: expression 'a'
|
||||
# output: (char) $0 = 'a'
|
||||
|
@ -27,7 +27,7 @@ class ExprCommands2TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line(self, "main.cpp", self.line, num_expected_locations=1,loc_exact=False)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Does static casting work?
|
||||
self.expect("expression (int*)argv",
|
||||
|
@ -40,7 +40,7 @@ class ObjCTypeQueryTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Now do a NSArry type query from the 'main.m' compile uint.
|
||||
self.expect("expression (NSArray*)array_token",
|
||||
|
@ -29,7 +29,7 @@ class BSDArchivesTestCase(TestBase):
|
||||
# Break inside a() by file and line first.
|
||||
lldbutil.run_break_set_by_file_and_line (self, "a.c", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -111,7 +111,7 @@ class BreakpointCommandTestCase(TestBase):
|
||||
# Run the program. Remove 'output.txt' if it exists.
|
||||
self.RemoveTempFile("output.txt")
|
||||
self.RemoveTempFile("output2.txt")
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Check that the file 'output.txt' exists and contains the string "lldb".
|
||||
|
||||
@ -161,7 +161,7 @@ class BreakpointCommandTestCase(TestBase):
|
||||
self.line])
|
||||
|
||||
# Run the program again, with breakpoint 1 remaining.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# We should be stopped again due to breakpoint 1.
|
||||
|
||||
@ -191,7 +191,7 @@ class BreakpointCommandTestCase(TestBase):
|
||||
os.remove ('output-2.txt')
|
||||
|
||||
# Run program, hit breakpoint, and hopefully write out new version of 'output-2.txt'
|
||||
self.runCmd ("run", RUN_FAILED)
|
||||
self.runCmd ("run", RUN_SUCCEEDED)
|
||||
|
||||
# Check that the file 'output.txt' exists and contains the string "lldb".
|
||||
|
||||
|
@ -48,7 +48,7 @@ class RegexpBreakCommandTestCase(TestBase):
|
||||
break_results = lldbutil.run_break_set_command (self, "b %s:%d" % (full_path, self.line))
|
||||
lldbutil.check_breakpoint_result (self, break_results, file_name='main.c', line_number=self.line, num_locations=1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -79,7 +79,7 @@ class BreakpointConditionsTestCase(TestBase):
|
||||
self.runCmd("breakpoint modify -c 'val == 3' 1")
|
||||
|
||||
# Now run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The process should be stopped at this point.
|
||||
self.expect("process status", PROCESS_STOPPED,
|
||||
@ -110,7 +110,7 @@ class BreakpointConditionsTestCase(TestBase):
|
||||
substrs = ["Condition:"])
|
||||
|
||||
# Now run the program again.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The process should be stopped at this point.
|
||||
self.expect("process status", PROCESS_STOPPED,
|
||||
|
@ -59,7 +59,7 @@ class BreakpointIgnoreCountTestCase(TestBase):
|
||||
lldbutil.run_break_set_by_file_and_line (self, 'main.c', self.line1, extra_options='-i 1', num_expected_locations=1, loc_exact=True)
|
||||
|
||||
# Now run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The process should be stopped at this point.
|
||||
self.expect("process status", PROCESS_STOPPED,
|
||||
@ -79,7 +79,7 @@ class BreakpointIgnoreCountTestCase(TestBase):
|
||||
|
||||
# continue -i 1 is the same as setting the ignore count to 1 again, try that:
|
||||
# Now run the program.
|
||||
self.runCmd("process continue -i 1", RUN_FAILED)
|
||||
self.runCmd("process continue -i 1", RUN_SUCCEEDED)
|
||||
|
||||
# The process should be stopped at this point.
|
||||
self.expect("process status", PROCESS_STOPPED,
|
||||
|
@ -56,7 +56,7 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
startstr = "3 breakpoints disabled.")
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# We should not stopped on any breakpoint at all.
|
||||
self.expect("process status", "No stopping on any disabled breakpoint",
|
||||
@ -71,7 +71,7 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
startstr = "1 breakpoints disabled.")
|
||||
|
||||
# Run the program againt. We should stop on the two breakpoint locations.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Stopped once.
|
||||
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -44,7 +44,7 @@ class BreakpointOptionsTestCase(TestBase):
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, extra_options = "-m 0", num_expected_locations = 0)
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Stopped once.
|
||||
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -58,7 +58,7 @@ class BreakpointInDummyTarget (TestBase):
|
||||
"2: file = 'main.c', line = %d, exact_match = 0, locations = 1" % self.line2])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Stopped once.
|
||||
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -53,7 +53,7 @@ class InlinedBreakpointsTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "basic_type.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
# And it should break at basic_type.cpp:176.
|
||||
|
@ -123,7 +123,7 @@ class ConditionalBreakTestCase(TestBase):
|
||||
|
||||
if self.TraceOn():
|
||||
print "About to run."
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd ("break list")
|
||||
|
||||
|
@ -37,7 +37,7 @@ class AdvDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class CategoriesDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class CppDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class DataFormatterDisablingTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class EnumFormatTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class NamedSummariesDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -231,7 +231,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -262,7 +262,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -327,7 +327,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -508,7 +508,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -551,7 +551,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -607,7 +607,7 @@ class ObjCDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -54,7 +54,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -210,7 +210,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=1, loc_exact=False)
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line3, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class ScriptDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class SkipSummaryDataFormatterTestCase(TestBase):
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class SmartArrayDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -38,7 +38,7 @@ class InitializerListTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line."))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class LibcxxIteratorDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -41,7 +41,7 @@ class LibcxxListDataFormatterTestCase(TestBase):
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class LibcxxMapDataFormatterTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line."))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class LibcxxMultiMapDataFormatterTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line."))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class LibcxxMultiSetDataFormatterTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line."))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class LibcxxSetDataFormatterTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line."))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class LibcxxStringDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class LibcxxUnorderedDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class LibcxxVBoolDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class LibcxxVectorDataFormatterTestCase(TestBase):
|
||||
|
||||
bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "break here"))
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class StdIteratorDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class StdListDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -162,7 +162,7 @@ class StdListDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.final_line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("c", RUN_FAILED)
|
||||
self.runCmd("c", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class StdMapDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class StdStringDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -42,7 +42,7 @@ class StdVBoolDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class StdVectorDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -38,7 +38,7 @@ class SynthDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterSynthValueTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class FormatPropagationTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class FrameFormatSmallStructTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class PtrRef2TypedefTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -38,7 +38,7 @@ class Radar10449092DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class Radar10642615DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class Rdar10887661TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterRdar11086338TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterOSTypeTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterBoolRefPtr(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.mm", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterRdar11988289TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterRdar12437442TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterRdar12529957TestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -38,7 +38,7 @@ class Radar13338477DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class DataFormatterOneIsSingularTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class Radar9973865DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -38,7 +38,7 @@ class Radar9973992DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -41,7 +41,7 @@ class Radar9974002DataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class DataFormatterRefPtrRecursionTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class UserFormatVSSummaryTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -39,7 +39,7 @@ class PythonSynthDataFormatterTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class VectorTypesFormattingTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -40,7 +40,7 @@ class DeadStripTestCase(TestBase):
|
||||
# Break by function name f3 (live code).
|
||||
lldbutil.run_break_set_by_symbol (self, "f3", num_expected_locations=1, module_name="a.out")
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint (breakpoint #1).
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -105,7 +105,7 @@ class AssertingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
stop_reason = self.check_stop_reason()
|
||||
|
||||
# And it should report a backtrace that includes the assert site.
|
||||
@ -145,7 +145,7 @@ class AssertingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# lldb should be able to read from registers from the inferior after asserting.
|
||||
@ -173,7 +173,7 @@ class AssertingInferiorTestCase(TestBase):
|
||||
for frame in thread:
|
||||
self.assertTrue(frame.IsValid(), "current frame is valid")
|
||||
|
||||
self.runCmd("frame select " + str(frame.GetFrameID()), RUN_FAILED)
|
||||
self.runCmd("frame select " + str(frame.GetFrameID()), RUN_SUCCEEDED)
|
||||
|
||||
# Don't expect the function name to be in the disassembly as the assert
|
||||
# function might be a no-return function where the PC is past the end
|
||||
@ -196,7 +196,7 @@ class AssertingInferiorTestCase(TestBase):
|
||||
|
||||
if 'main' == frame.GetFunctionName():
|
||||
frame_id = frame.GetFrameID()
|
||||
self.runCmd("frame select " + str(frame_id), RUN_FAILED)
|
||||
self.runCmd("frame select " + str(frame_id), RUN_SUCCEEDED)
|
||||
self.expect("p argc", substrs = ['(int)', ' = 1'])
|
||||
self.expect("p hello_world", substrs = ['Hello'])
|
||||
self.expect("p argv[0]", substrs = ['a.out'])
|
||||
|
@ -48,7 +48,7 @@ class ChangedInferiorTestCase(TestBase):
|
||||
self.exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# We should have one crashing thread
|
||||
self.assertEquals(
|
||||
@ -65,7 +65,7 @@ class ChangedInferiorTestCase(TestBase):
|
||||
# Prod the lldb-platform that we have a newly built inferior ready.
|
||||
if lldb.lldbtest_remote_sandbox:
|
||||
self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.runCmd("process status")
|
||||
|
||||
self.assertNotEquals(
|
||||
@ -76,7 +76,7 @@ class ChangedInferiorTestCase(TestBase):
|
||||
# Break inside the main.
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main2.c", self.line2, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -110,7 +110,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
# The exact stop reason depends on the platform
|
||||
if self.platformIsDarwin():
|
||||
stop_reason = 'stop reason = EXC_BAD_ACCESS'
|
||||
@ -154,7 +154,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# lldb should be able to read from registers from the inferior after crashing.
|
||||
@ -165,7 +165,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# The lldb expression interpreter should be able to read from addresses of the inferior after a crash.
|
||||
@ -181,7 +181,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.set_breakpoint(self.line)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
substrs = ['main.c:%d' % self.line,
|
||||
@ -208,7 +208,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
expected_state = 'exited' # Provide the exit code.
|
||||
@ -230,7 +230,7 @@ class CrashingInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# The lldb expression interpreter should be able to read from addresses of the inferior after a crash.
|
||||
|
@ -107,7 +107,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The exact stop reason depends on the platform
|
||||
if self.platformIsDarwin():
|
||||
@ -156,7 +156,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# lldb should be able to read from registers from the inferior after crashing.
|
||||
@ -167,7 +167,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# The lldb expression interpreter should be able to read from addresses of the inferior after a crash.
|
||||
@ -180,7 +180,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.set_breakpoint(self.line)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
substrs = ['main.c:%d' % self.line,
|
||||
@ -205,7 +205,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
expected_state = 'exited' # Provide the exit code.
|
||||
@ -228,7 +228,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
|
||||
exe = os.path.join(os.getcwd(), "a.out")
|
||||
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
self.check_stop_reason()
|
||||
|
||||
# The lldb expression interpreter should be able to read from addresses of the inferior after a crash.
|
||||
|
@ -191,7 +191,7 @@ class LoadUnloadTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
if lldb.remote_platform:
|
||||
shlib_dir = lldb.remote_platform.GetWorkingDirectory()
|
||||
@ -249,7 +249,7 @@ class LoadUnloadTestCase(TestBase):
|
||||
# Break by function name a_function (not yet loaded).
|
||||
lldbutil.run_break_set_by_symbol (self, "a_function", num_expected_locations=0)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint and at a_function.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -291,7 +291,7 @@ class LoadUnloadTestCase(TestBase):
|
||||
# Break by function name a_function (not yet loaded).
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint and at a_function.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -47,7 +47,7 @@ class LongjmpTestCase(TestBase):
|
||||
# Break in main().
|
||||
lldbutil.run_break_set_by_symbol (self, symbol, num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -61,21 +61,21 @@ class LongjmpTestCase(TestBase):
|
||||
|
||||
def step_out(self):
|
||||
self.start_test("do_jump")
|
||||
self.runCmd("thread step-out", RUN_FAILED)
|
||||
self.runCmd("thread step-out", RUN_SUCCEEDED)
|
||||
self.check_status()
|
||||
|
||||
def step_over(self):
|
||||
self.start_test("do_jump")
|
||||
self.runCmd("thread step-over", RUN_FAILED)
|
||||
self.runCmd("thread step-over", RUN_FAILED)
|
||||
self.runCmd("thread step-over", RUN_SUCCEEDED)
|
||||
self.runCmd("thread step-over", RUN_SUCCEEDED)
|
||||
self.check_status()
|
||||
|
||||
def step_back_out(self):
|
||||
self.start_test("main")
|
||||
|
||||
self.runCmd("thread step-over", RUN_FAILED)
|
||||
self.runCmd("thread step-in", RUN_FAILED)
|
||||
self.runCmd("thread step-out", RUN_FAILED)
|
||||
self.runCmd("thread step-over", RUN_SUCCEEDED)
|
||||
self.runCmd("thread step-in", RUN_SUCCEEDED)
|
||||
self.runCmd("thread step-out", RUN_SUCCEEDED)
|
||||
self.check_status()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -41,7 +41,7 @@ class MemoryReadTestCase(TestBase):
|
||||
# Break in main() aftre the variables are assigned values.
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -29,7 +29,7 @@ class NonOverlappingIndexVariableCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, self.source, self.line_to_break, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -37,7 +37,7 @@ class ValueObjectRecursionTestCase(TestBase):
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=1, loc_exact=True)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -75,7 +75,7 @@ class RegisterCommandsTestCase(TestBase):
|
||||
# Break in main().
|
||||
lldbutil.run_break_set_by_symbol (self, "main", num_expected_locations=-1)
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -102,7 +102,7 @@ class RegisterCommandsTestCase(TestBase):
|
||||
|
||||
if self.platform != "":
|
||||
self.log_file = os.path.join(os.getcwd(), 'TestRegisters.log')
|
||||
self.runCmd("log enable " + self.platform + " " + str(category) + " registers -v -f " + self.log_file, RUN_FAILED)
|
||||
self.runCmd("log enable " + self.platform + " " + str(category) + " registers -v -f " + self.log_file, RUN_SUCCEEDED)
|
||||
if not self.has_teardown:
|
||||
self.has_teardown = True
|
||||
self.addTearDownHook(self.remove_log)
|
||||
|
@ -27,7 +27,7 @@ class SetDataTestCase(TestBase):
|
||||
self.runCmd("br s -p First");
|
||||
self.runCmd("br s -p Second");
|
||||
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.expect("p myFoo.x", VARIABLES_DISPLAYED_CORRECTLY,
|
||||
substrs = ['2'])
|
||||
|
@ -82,15 +82,15 @@ class targetCommandTestCase(TestBase):
|
||||
break;
|
||||
|
||||
self.runCmd("target create " + exe_a, CURRENT_EXECUTABLE_SET)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("target create " + exe_b, CURRENT_EXECUTABLE_SET)
|
||||
lldbutil.run_break_set_by_file_and_line (self, 'b.c', self.line_b, num_expected_locations=1, loc_exact=True)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("target create " + exe_c, CURRENT_EXECUTABLE_SET)
|
||||
lldbutil.run_break_set_by_file_and_line (self, 'c.c', self.line_c, num_expected_locations=1, loc_exact=True)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("target list")
|
||||
|
||||
|
@ -44,7 +44,7 @@ class NumberOfThreadsTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.line])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Stopped once.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -48,7 +48,7 @@ class BreakpointAfterJoinTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -428,7 +428,7 @@ class ConcurrentEventsTestCase(TestBase):
|
||||
self.expect("breakpoint list -f", "Breakpoint locations shown correctly", substrs = expected_bps)
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Check we are at line self.setup_breakpoint
|
||||
self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -95,7 +95,7 @@ class CreateDuringStepTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -48,7 +48,7 @@ class ExitDuringBreakpointTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -109,7 +109,7 @@ class ExitDuringStepTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -46,7 +46,7 @@ class ThreadJumpTestCase(TestBase):
|
||||
self.mark5 = line_number('other.cpp', '// other marker')
|
||||
|
||||
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.mark3, num_expected_locations=1)
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint 1.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT + " 1",
|
||||
|
@ -48,7 +48,7 @@ class MultipleBreakpointTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
# The breakpoint may be hit in either thread 2 or thread 3.
|
||||
|
@ -111,7 +111,7 @@ class ThreadStateTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -152,7 +152,7 @@ class ThreadStateTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.c', line = %d, exact_match = 0, locations = 1" % self.break_1])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -201,7 +201,7 @@ class ThreadStateTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -245,7 +245,7 @@ class ThreadStateTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
@ -300,7 +300,7 @@ class ThreadStateTestCase(TestBase):
|
||||
"2: file = 'main.c', line = %d, locations = 1" % self.break_2])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# The stop reason of the thread should be breakpoint.
|
||||
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
|
||||
|
@ -113,7 +113,7 @@ class ThreadStepOutTestCase(TestBase):
|
||||
substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.breakpoint])
|
||||
|
||||
# Run the program.
|
||||
self.runCmd("run", RUN_FAILED)
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
# Get the target process
|
||||
self.inferior_target = self.dbg.GetSelectedTarget()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user