2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
9 class StepIAfterBreakTest(gdb_test.GdbTest):
11 def test_stepi_after_break(self):
12 self.gdb.Command('break test_stepi_after_break')
13 self.gdb.ResumeAndExpectStop('continue', 'breakpoint-hit')
14 # From GDB/MI documentation, 'stepi' statement should be
15 # gdb.ResumeAndExpectStop('stepi', 'end-stepping-range')
16 # but in reality 'stepi' stop reason is simply omitted.
17 self.gdb.ResumeCommand('stepi')
20 if __name__ == '__main__':