aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index bb4ac25..4ebed43 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -870,7 +870,8 @@ class Gdb:
for line in output.splitlines():
m = re.match(
r"[\s\*]*(\d+)\s*"
- r"(Remote target|Thread (\d+)\s*\(Name: ([^\)]+))"
+ r'(Remote target'
+ r'|Thread (\d+)\s*(?:".*?")?\s*\(Name: ([^\)]+))'
r"\s*(.*)", line)
if m:
threads.append(Thread(*m.groups()))