]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/guile] Fix typos
authorTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 22:21:54 +0000 (23:21 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 22:21:54 +0000 (23:21 +0100)
Fix typos:
...
gdb/guile/scm-lazy-string.c:41: sting ==> string
gdb/guile/lib/gdb/iterator.scm:65: satify ==> satisfy
...

gdb/guile/lib/gdb/iterator.scm
gdb/guile/scm-lazy-string.c

index f27fd964f2f1e3edc0e84843f7bdee2ecb94161a..7ef15beaae065966d2f87bd25f89b262f5d88f2e 100644 (file)
@@ -62,7 +62,7 @@
          (iterator-for-each proc iter)))))
 
 (define-public (iterator-filter pred iter)
-  "Return the elements that satify predicate PRED."
+  "Return the elements that satisfy predicate PRED."
   (let loop ((result '()))
     (let ((next (iterator-next! iter)))
       (cond ((end-of-iteration? next) (reverse! result))
index 9f525fa50ac06bbb96590ae3bc09e1896faf4ec3..586c92c771b0f4758f6aa4614f7c365c27f1c9c1 100644 (file)
@@ -38,7 +38,7 @@ struct lazy_string_smob
 
   /*  Holds the encoding that will be applied to the string when the string
       is printed by GDB.  If the encoding is set to NULL then GDB will select
-      the most appropriate encoding when the sting is printed.
+      the most appropriate encoding when the string is printed.
       Space for this is malloc'd and will be freed when the object is
       freed.  */
   char *encoding;