aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-01-08 14:51:57 -0800
committerAndrew Waterman <andrew@sifive.com>2020-01-08 14:51:57 -0800
commit3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99 (patch)
treec1c877ec8226795eb237266d7e15fcd4d48dece2
parentb757ff06f373ff2394de03e9d8e48cef31d6eb93 (diff)
downloadriscv-tests-tmp.zip
riscv-tests-tmp.tar.gz
riscv-tests-tmp.tar.bz2
tmptmp
-rwxr-xr-xdebug/gdbserver.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index 55cfb21..9eecabf 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -401,26 +401,6 @@ class ProgramTest(GdbSingleHartTest):
assertIn("_exit", output)
assertEqual(self.gdb.p("status"), expected_result)
-class ProgramHwWatchpoint(ProgramTest):
- def test(self):
- mainbp = self.gdb.b("main")
- output = self.gdb.c()
- assertIn("Breakpoint", output)
- assertIn("main", output)
- self.gdb.command("delete %d" % mainbp)
- self.gdb.watch("counter == 5")
- # Watchpoint hits when counter becomes 5.
- output = self.gdb.c()
- assertEqual(self.gdb.p("counter"), 5)
- # Watchpoint hits when counter no longer is 5.
- output = self.gdb.c()
- assertEqual(self.gdb.p("counter"), 6)
- # The watchpoint is going out of scope
- output = self.gdb.c()
- assertIn("Watchpoint", output)
- assertIn("deleted", output)
- self.exit()
-
class ProgramSwWatchpoint(ProgramTest):
def test(self):
self.gdb.b("main")