[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
...
This commit is contained in:
Tom de Vries
2025-03-06 23:21:54 +01:00
parent ccf9089658
commit 586ccf7822
3 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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

View File

@@ -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. */