Fix cut and paste bug in test_change_pc
authorTim Newsome <tim@sifive.com>
Fri, 10 Jun 2016 21:10:31 +0000 (14:10 -0700)
committerTim Newsome <tim@sifive.com>
Tue, 19 Jul 2016 01:51:54 +0000 (18:51 -0700)
debug/gdbserver.py

index d1a4e751238df26827a312d58e76a7e7b612ace4..5f39db1f253a3c23d8448a27a11eb5fcbe8cc435 100755 (executable)
@@ -153,7 +153,7 @@ class InstantHaltTest(DeleteServer):
         self.gdb.stepi()
         self.assertEqual((target.ram + 4), self.gdb.p("$pc"))
         self.gdb.stepi()
-        self.assertEqual((target.ram + 4), self.gdb.p("$pc"))
+        self.assertEqual((target.ram + 8), self.gdb.p("$pc"))
 
 class DebugTest(DeleteServer):
     def setUp(self):