projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72822ba
)
Remove hardware breakpoints so future tests work.
author
Tim Newsome
<tim@sifive.com>
Tue, 21 Jun 2016 20:56:32 +0000
(13:56 -0700)
committer
Tim Newsome
<tim@sifive.com>
Tue, 19 Jul 2016 01:51:54 +0000
(18:51 -0700)
debug/gdbserver.py
patch
|
blob
|
history
diff --git
a/debug/gdbserver.py
b/debug/gdbserver.py
index deb3d579bda1d787e1ece77720e288f819cd61ea..030b6a17aba70386b8a77fc220a5bcf4e843ef19 100755
(executable)
--- 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