Clarify timeout units.
authorTim Newsome <tim@sifive.com>
Tue, 12 Sep 2017 18:20:27 +0000 (11:20 -0700)
committerTim Newsome <tim@sifive.com>
Thu, 14 Sep 2017 19:32:59 +0000 (12:32 -0700)
debug/testlib.py

index 8ac616e7dd19b24d02bb401537858cb2fdc368a1..c41c332c8ebf26500b3639b61989a39d1f9746c8 100644 (file)
@@ -333,6 +333,7 @@ class Gdb(object):
         self.child.expect(r"\(gdb\)")
 
     def command(self, command, timeout=6000):
+        """timeout is in seconds"""
         self.child.sendline(command)
         self.child.expect("\n", timeout=timeout)
         self.child.expect(r"\(gdb\)", timeout=timeout)