summaryrefslogtreecommitdiff
path: root/gdb-helpers/libcr.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb-helpers/libcr.py')
-rw-r--r--gdb-helpers/libcr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb-helpers/libcr.py b/gdb-helpers/libcr.py
index f74a702..fcfd86e 100644
--- a/gdb-helpers/libcr.py
+++ b/gdb-helpers/libcr.py
@@ -1,6 +1,6 @@
# gdb-helpers/libcr.py - GDB helpers for libcr.
#
-# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
import contextlib
@@ -428,11 +428,11 @@ class CrSelectCommand(gdb.Command):
crs += [cr]
match len(crs):
case 0:
- raise gdb.GdbError(f"No such coroutine: {repr(name)}")
+ raise gdb.GdbError(f"No such coroutine: {name!r}")
case 1:
return crs[0]
case _:
- raise gdb.GdbError(f"Ambiguous name, must use Id: {repr(name)}")
+ raise gdb.GdbError(f"Ambiguous name, must use Id: {name!r}")
# Wire it all in ###############################################################