]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/python] Fix typos in lib
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/lib/gdb/disassembler.py:84: dissables ==> disables
gdb/python/lib/gdb/command/xmethods.py:40: experession ==> expression
...

gdb/python/lib/gdb/command/xmethods.py
gdb/python/lib/gdb/disassembler.py

index f78622718585f10b3154fef37a2de3cd17d67ba6..b33e57043af2349aa7600ef6ebe96389a15a38a7 100644 (file)
@@ -37,7 +37,7 @@ def parse_xm_command_args(arg):
     Returns:
         A 3-tuple: (<locus matching regular expression>,
                     <matcher matching regular expression>,
-                    <name matching regular experession>)
+                    <name matching regular expression>)
     """
     argv = gdb.string_to_argv(arg)
     argc = len(argv)
index 7d0e781ef216e0db73083b6630a3abf2ae5e6e06..5df048510138c9ed08f701a8bc5774663450357b 100644 (file)
@@ -81,7 +81,7 @@ def register_disassembler(disassembler, architecture=None):
 
     # Call the private _set_enabled function within the
     # _gdb.disassembler module.  This function sets a global flag
-    # within GDB's C++ code that enables or dissables the Python
+    # within GDB's C++ code that enables or disables the Python
     # disassembler functionality, this improves performance of the
     # disassembler by avoiding unneeded calls into Python when we know
     # that no disassemblers are registered.