projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add hwbp test (currently doesn't pass).
[riscv-tests.git]
/
debug
/
testlib.py
diff --git
a/debug/testlib.py
b/debug/testlib.py
index 21f28d84a6d82ad05351334628a5ef50430fb383..f8c8062f2b9c05d9416d90099d3e84611924b2d8 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-162,3
+162,9
@@
class Gdb(object):
assert "not defined" not in output
assert "Breakpoint" in output
return output
assert "not defined" not in output
assert "Breakpoint" in output
return output
+
+ def hbreak(self, location):
+ output = self.command("hbreak %s" % location)
+ assert "not defined" not in output
+ assert "Breakpoint" in output
+ return output