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

View 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)

View 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.