]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: fix typo 'unsupport' to 'unsupported'
authorAndrew Burgess <aburgess@redhat.com>
Mon, 11 Nov 2024 16:09:16 +0000 (16:09 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 11 Nov 2024 16:11:18 +0000 (16:11 +0000)
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.

gdb/testsuite/gdb.python/py-missing-objfile.exp

index 15a69521eac303e925c4b8a520d0b011c69d726b..8afd54774536064878d0ed43cebe297c1e87e234 100644 (file)
@@ -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
 }