From 3e12c0bb0a030117d4b9c11d1c4743cbe64ccb99 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 8 Jan 2020 14:51:57 -0800 Subject: tmp --- debug/gdbserver.py | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'debug/gdbserver.py') 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") -- cgit v1.1