diff options
author | Andrew Waterman <andrew@sifive.com> | 2020-01-08 14:51:57 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-01-08 14:51:57 -0800 |
commit | 3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99 (patch) | |
tree | c1c877ec8226795eb237266d7e15fcd4d48dece2 /debug | |
parent | b757ff06f373ff2394de03e9d8e48cef31d6eb93 (diff) | |
download | riscv-tests-3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99.zip riscv-tests-3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99.tar.gz riscv-tests-3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99.tar.bz2 |
tmptmp
Diffstat (limited to 'debug')
-rwxr-xr-x | debug/gdbserver.py | 20 |
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") |