Clarify timeout units.
[riscv-tests.git] / 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)