From: Tom de Vries Date: Thu, 6 Mar 2025 22:21:54 +0000 (+0100) Subject: [gdb/guile] Fix typos X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f237b414f442b5edd0eff0840bb22a48b61b36f;p=thirdparty%2Fbinutils-gdb.git [gdb/guile] Fix typos Fix typos: ... gdb/guile/scm-lazy-string.c:41: sting ==> string gdb/guile/lib/gdb/iterator.scm:65: satify ==> satisfy ... --- diff --git a/gdb/guile/lib/gdb/iterator.scm b/gdb/guile/lib/gdb/iterator.scm index f27fd964f2f..7ef15beaae0 100644 --- a/gdb/guile/lib/gdb/iterator.scm +++ b/gdb/guile/lib/gdb/iterator.scm @@ -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)) diff --git a/gdb/guile/scm-lazy-string.c b/gdb/guile/scm-lazy-string.c index 9f525fa50ac..586c92c771b 100644 --- a/gdb/guile/scm-lazy-string.c +++ b/gdb/guile/scm-lazy-string.c @@ -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;