aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
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
commit586ccf782280eb8494dddd137c969291e4e958e1 (patch)
tree2650b23cdf4f43aad680bca0bbed44cdd0012455 /gdb/python
parentccf9089658b756d928eb37a7ee84249f29f49221 (diff)
downloadbinutils-586ccf782280eb8494dddd137c969291e4e958e1.zip
binutils-586ccf782280eb8494dddd137c969291e4e958e1.tar.gz
binutils-586ccf782280eb8494dddd137c969291e4e958e1.tar.bz2
[gdb/python] Fix typos
Fix typos: ... gdb/python/py-framefilter.c:749: indention ==> indentation gdb/python/py-framefilter.c:837: indention ==> indentation gdb/python/py-lazy-string.c:35: sting ==> string gdb/python/py-progspace.c:119: Retun ==> Return gdb/python/py-progspace.c:139: Retun ==> Return ...
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-framefilter.c4
-rw-r--r--gdb/python/py-lazy-string.c2
-rw-r--r--gdb/python/py-progspace.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index 24e1c91..88252b0 100644
--- a/gdb/python/py-framefilter.c
+++ b/gdb/python/py-framefilter.c
@@ -746,7 +746,7 @@ using levels_printed_hash = gdb::unordered_set<frame_info *>;
OUT is the output stream to print to.
- INDENT is the level of indention for this frame (in the case of elided
+ INDENT is the level of indentation for this frame (in the case of elided
frames).
LEVELS_PRINTED is a hash-table containing all the frames for which the
@@ -834,7 +834,7 @@ py_print_frame (PyObject *filter, frame_filter_flags flags,
if (print_frame_info)
{
/* Elided frames are also printed with this function (recursively)
- and are printed with indention. */
+ and are printed with indentation. */
if (indent > 0)
out->spaces (indent * 4);
diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c
index 1226c28..d75f861 100644
--- a/gdb/python/py-lazy-string.c
+++ b/gdb/python/py-lazy-string.c
@@ -32,7 +32,7 @@ struct lazy_string_object {
/* Holds the encoding that will be applied to the string
when the string is printed by GDB. If the encoding is set
to None then GDB will select the most appropriate
- encoding when the sting is printed. */
+ encoding when the string is printed. */
char *encoding;
/* If TYPE is an array: If the length is known, then this value is the
diff --git a/gdb/python/py-progspace.c b/gdb/python/py-progspace.c
index bb44aa4..4dbe18e 100644
--- a/gdb/python/py-progspace.c
+++ b/gdb/python/py-progspace.c
@@ -116,7 +116,7 @@ pspy_get_filename (PyObject *self, void *closure)
Py_RETURN_NONE;
}
-/* Implement the gdb.Progspace.symbol_file attribute. Retun the
+/* Implement the gdb.Progspace.symbol_file attribute. Return the
gdb.Objfile corresponding to the currently loaded symbol-file, or None
if no symbol-file is loaded. If the Progspace is invalid then raise an
exception. */
@@ -136,7 +136,7 @@ pspy_get_symbol_file (PyObject *self, void *closure)
Py_RETURN_NONE;
}
-/* Implement the gdb.Progspace.executable_filename attribute. Retun a
+/* Implement the gdb.Progspace.executable_filename attribute. Return a
string containing the name of the current executable, or None if no
executable is currently set. If the Progspace is invalid then raise an
exception. */