diff options
author | Tom de Vries <tdevries@suse.de> | 2025-03-06 23:21:54 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-03-06 23:21:54 +0100 |
commit | ccf9089658b756d928eb37a7ee84249f29f49221 (patch) | |
tree | 55a05bf28e2c3d7a330605a395e721ed6498bf70 /gdb/python | |
parent | 4f237b414f442b5edd0eff0840bb22a48b61b36f (diff) | |
download | binutils-ccf9089658b756d928eb37a7ee84249f29f49221.zip binutils-ccf9089658b756d928eb37a7ee84249f29f49221.tar.gz binutils-ccf9089658b756d928eb37a7ee84249f29f49221.tar.bz2 |
[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
...
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/lib/gdb/command/xmethods.py | 2 | ||||
-rw-r--r-- | gdb/python/lib/gdb/disassembler.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/lib/gdb/command/xmethods.py b/gdb/python/lib/gdb/command/xmethods.py index f786227..b33e570 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: (<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) diff --git a/gdb/python/lib/gdb/disassembler.py b/gdb/python/lib/gdb/disassembler.py index 7d0e781..5df0485 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. |