]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/python] Fix typos
authorTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 22:21:54 +0000 (23:21 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 22:21:54 +0000 (23:21 +0100)
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
...

gdb/python/py-framefilter.c
gdb/python/py-lazy-string.c
gdb/python/py-progspace.c

index 24e1c9173b61f1a0d949ce27fba38131af90fa5c..88252b06144519371a6246408d6a7623596aab86 100644 (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);
 
index 1226c280174ac5c9c2c26f6bdf36508a5047a0ab..d75f861705e6c6422315971fed71215d0488f6c8 100644 (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
index bb44aa425678a70b38a01d3992c8c98d845275de..4dbe18ef50623da2f9ed5782b68c02797d02d6d4 100644 (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.  */