From: Tim Newsome Date: Tue, 21 Jun 2016 20:56:32 +0000 (-0700) Subject: Remove hardware breakpoints so future tests work. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aa5ac06c704ea822bd1150e5c2d8900ce380807;p=riscv-tests.git Remove hardware breakpoints so future tests work. --- 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