xref: /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/TestGdbRemoteSingleStep.py (revision bf02bcff)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3import gdbremote_testcase
4from lldbsuite.test.decorators import *
5from lldbsuite.test.lldbtest import *
6from lldbsuite.test import lldbutil
7
8
9class TestGdbRemoteSingleStep(gdbremote_testcase.GdbRemoteTestCaseBase):
10
11    mydir = TestBase.compute_mydir(__file__)
12
13    @skipIfDarwinEmbedded # <rdar://problem/34539270> lldb-server tests not updated to work on ios etc yet
14    @debugserver_test
15    def test_single_step_only_steps_one_instruction_with_s_debugserver(self):
16        self.init_debugserver_test()
17        self.build()
18        self.set_inferior_startup_launch()
19        self.single_step_only_steps_one_instruction(
20            use_Hc_packet=True, step_instruction="s")
21
22    @skipIfWindows # No pty support to test any inferior std -i/e/o
23    @llgs_test
24    @skipIf(triple='^mips')
25    def test_single_step_only_steps_one_instruction_with_s_llgs(self):
26        self.init_llgs_test()
27        self.build()
28        self.set_inferior_startup_launch()
29        self.single_step_only_steps_one_instruction(
30            use_Hc_packet=True, step_instruction="s")
31

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025