aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-06 23:21:54 +0100
committerTom de Vries <tdevries@suse.de>2025-03-06 23:21:54 +0100
commit4f237b414f442b5edd0eff0840bb22a48b61b36f (patch)
treedc9a87f3381232f14397e5f6d0991f4a1b5b7152
parent24dc9ad2051b17b7b0e37fb46ecd779b779a2d5a (diff)
downloadbinutils-4f237b414f442b5edd0eff0840bb22a48b61b36f.zip
binutils-4f237b414f442b5edd0eff0840bb22a48b61b36f.tar.gz
binutils-4f237b414f442b5edd0eff0840bb22a48b61b36f.tar.bz2
[gdb/guile] Fix typos
Fix typos: ... gdb/guile/scm-lazy-string.c:41: sting ==> string gdb/guile/lib/gdb/iterator.scm:65: satify ==> satisfy ...
-rw-r--r--gdb/guile/lib/gdb/iterator.scm2
-rw-r--r--gdb/guile/scm-lazy-string.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/lib/gdb/iterator.scm b/gdb/guile/lib/gdb/iterator.scm
index f27fd96..7ef15be 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 9f525fa..586c92c 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;