From 6aa5ac06c704ea822bd1150e5c2d8900ce380807 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Tue, 21 Jun 2016 13:56:32 -0700 Subject: [PATCH] Remove hardware breakpoints so future tests work. --- debug/gdbserver.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index deb3d57..030b6a1 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -241,6 +241,9 @@ class DebugTest(DeleteServer): output = self.gdb.c() self.assertIn("Cannot insert hardware breakpoint", output) + # Clean up, otherwise the hardware breakpoints stay set and future + # tests may fail. + self.gdb.command("D") def test_registers(self): # Get to a point in the code where some registers have actually been -- 2.30.2