From: Tom de Vries Date: Thu, 6 Mar 2025 22:21:54 +0000 (+0100) Subject: [gdb/python] Fix typos in lib X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ccf9089658b756d928eb37a7ee84249f29f49221;p=thirdparty%2Fbinutils-gdb.git [gdb/python] Fix typos in lib Fix typos: ... gdb/python/lib/gdb/disassembler.py:84: dissables ==> disables gdb/python/lib/gdb/command/xmethods.py:40: experession ==> expression ... --- diff --git a/gdb/python/lib/gdb/command/xmethods.py b/gdb/python/lib/gdb/command/xmethods.py index f7862271858..b33e57043af 100644 --- a/gdb/python/lib/gdb/command/xmethods.py +++ b/gdb/python/lib/gdb/command/xmethods.py @@ -37,7 +37,7 @@ def parse_xm_command_args(arg): Returns: A 3-tuple: (, , - ) + ) """ argv = gdb.string_to_argv(arg) argc = len(argv) diff --git a/gdb/python/lib/gdb/disassembler.py b/gdb/python/lib/gdb/disassembler.py index 7d0e781ef21..5df04851013 100644 --- a/gdb/python/lib/gdb/disassembler.py +++ b/gdb/python/lib/gdb/disassembler.py @@ -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.