mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
[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:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user