diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index 24e1c9173b6..88252b06144 100644 --- a/gdb/python/py-framefilter.c +++ b/gdb/python/py-framefilter.c @@ -746,7 +746,7 @@ using levels_printed_hash = gdb::unordered_set; 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 1226c280174..d75f861705e 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 bb44aa42567..4dbe18ef506 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. */