aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
Diffstat (limited to 'debug')
-rw-r--r--debug/testlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 435b41b..b665edb 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -795,6 +795,7 @@ class Gdb:
timeout = max(1, ops) * self.timeout
self.active_child.sendline(command)
try:
+ self.active_child.expect(re.escape(command), timeout=timeout)
self.active_child.expect("\n", timeout=timeout)
except pexpect.exceptions.TIMEOUT as exc:
raise CommandSendTimeout(command) from exc