Force gdb to not print entry values.
authorTim Newsome <tim@sifive.com>
Mon, 9 May 2016 16:41:01 +0000 (09:41 -0700)
committerTim Newsome <tim@sifive.com>
Mon, 23 May 2016 19:12:12 +0000 (12:12 -0700)
All of a sudden gdb decided to start printing them, which messed up the
breakpoint test. It would only print them in the test, not if I manually
ran the same commands. I'm sure it's my fault somehow, but this should
keep things consistent in the future.

tests/testlib.py

index 3b439b1dd2ccb5c225880937c8738fa45cf4d82d..3cba8c77e181d304dbe48cacc7fdb7be869268e8 100644 (file)
@@ -71,6 +71,8 @@ class Gdb(object):
         self.wait()
         self.command("set width 0")
         self.command("set height 0")
+        # Force consistency.
+        self.command("set print entry-values no")
 
     def wait(self):
         """Wait for prompt."""