aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-21 14:55:00 +0200
committerTom de Vries <tdevries@suse.de>2022-07-21 14:55:00 +0200
commit5c3392f9811a9cc46580401cde99337e14cab6e6 (patch)
tree328f8e45d7575124e97b244717ef71b2e87c52c7
parentc57ac5108667b52f5cde6c1bbdd4a1496626c1a8 (diff)
downloadgdb-5c3392f9811a9cc46580401cde99337e14cab6e6.zip
gdb-5c3392f9811a9cc46580401cde99337e14cab6e6.tar.gz
gdb-5c3392f9811a9cc46580401cde99337e14cab6e6.tar.bz2
[gdb/python] Fix typo in test_python
Fix typo in ref_output_0 variable in test_python. Tested by running the selftest on x86_64-linux with python 3.11.
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index c031241..c7d4157 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -2242,7 +2242,7 @@ test_python ()
SELF_CHECK (saw_exception);
std::string ref_output_0 ("Traceback (most recent call last):\n"
" File \"<string>\", line 0, in <module>\n"
- " KeyboardInterrupt\n");
+ "KeyboardInterrupt\n");
std::string ref_output_1 ("Traceback (most recent call last):\n"
" File \"<string>\", line 1, in <module>\n"
"KeyboardInterrupt\n");