2 # Copyright (c) 2014 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 KillTest(gdb_test.GdbTest):
12 # Test that you can stop on a breakpoint, then kill the program being
14 self.gdb.Command('break test_kill')
15 self.gdb.ResumeAndExpectStop('continue', 'breakpoint-hit')
19 # Test program should end first with the kill return code.
20 # Intentionally bypass superclass's tearDown as it assumes gdb exits first.
21 self.AssertSelLdrExits()
26 if __name__ == '__main__':