aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-11-11 16:09:16 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-11-11 16:11:18 +0000
commitdf0445b370f66b781a0fcb88270d71df154e4985 (patch)
treef1b2c4f2c5875acb57f02014c1a98bb266f28a32 /gdb/testsuite/gdb.python
parentf03239584d8d33689c19d68500b611ce8991626b (diff)
downloadgdb-df0445b370f66b781a0fcb88270d71df154e4985.zip
gdb-df0445b370f66b781a0fcb88270d71df154e4985.tar.gz
gdb-df0445b370f66b781a0fcb88270d71df154e4985.tar.bz2
gdb/testsuite: fix typo 'unsupport' to 'unsupported'
I noticed that in commit: commit 5cabc8098e65ac22d4245232ad20b19fa4729802 Date: Wed Jul 31 15:55:57 2024 +0100 gdb/python: implement Python find_exec_by_build_id hook I managed to typo 'unsupported' as 'unsupport'. If you run the test on a target that doesn't support core file creation then you'll get a TCL error. Fixed in this commit.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-missing-objfile.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-missing-objfile.exp b/gdb/testsuite/gdb.python/py-missing-objfile.exp
index 15a6952..8afd547 100644
--- a/gdb/testsuite/gdb.python/py-missing-objfile.exp
+++ b/gdb/testsuite/gdb.python/py-missing-objfile.exp
@@ -50,7 +50,7 @@ set remote_python_file \
# Generate a core file.
set corefile [core_find $binfile {}]
if {$corefile == ""} {
- unsupport "core file not generated"
+ unsupported "core file not generated"
return 0
}