diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-23 12:20:34 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-23 12:20:34 +0100 |
commit | ac51afb51c00693bb19c6a6110e9a45d2e4f79b7 (patch) | |
tree | b2fcf9ded59d04633dbb406083e2814c34e4e468 /gdb/python/py-auto-load.c | |
parent | 63eedf3b09f73077ecff2118f45d1adb1391eddd (diff) | |
download | binutils-ac51afb51c00693bb19c6a6110e9a45d2e4f79b7.zip binutils-ac51afb51c00693bb19c6a6110e9a45d2e4f79b7.tar.gz binutils-ac51afb51c00693bb19c6a6110e9a45d2e4f79b7.tar.bz2 |
[gdb/contrib] Add two rules in common-misspellings.txt
Eli mentioned [1] that given that we use US English spelling in our
documentation, we should use "behavior" instead of "behaviour".
In wikipedia-common-misspellings.txt there's a rule:
...
behavour->behavior, behaviour
...
which leaves this as a choice.
Add an overriding rule to hardcode the choice to common-misspellings.txt:
...
behavour->behavior
...
and add a rule to rewrite behaviour into behavior:
...
behaviour->behavior
...
and re-run spellcheck.sh on gdb*.
Tested on x86_64-linux.
[1] https://sourceware.org/pipermail/gdb-patches/2024-November/213371.html
Diffstat (limited to 'gdb/python/py-auto-load.c')
-rw-r--r-- | gdb/python/py-auto-load.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index 9548973..7dc3a7b 100644 --- a/gdb/python/py-auto-load.c +++ b/gdb/python/py-auto-load.c @@ -61,8 +61,8 @@ gdbpy_initialize_auto_load (void) { add_setshow_boolean_cmd ("python-scripts", class_support, &auto_load_python_scripts, _("\ -Set the debugger's behaviour regarding auto-loaded Python scripts."), _("\ -Show the debugger's behaviour regarding auto-loaded Python scripts."), _("\ +Set the debugger's behavior regarding auto-loaded Python scripts."), _("\ +Show the debugger's behavior regarding auto-loaded Python scripts."), _("\ If enabled, auto-loaded Python scripts are loaded when the debugger reads\n\ an executable or shared library.\n\ This options has security implications for untrusted inferiors."), @@ -73,10 +73,10 @@ This options has security implications for untrusted inferiors."), set_show_commands auto_load_scripts_cmds = add_setshow_boolean_cmd ("auto-load-scripts", class_support, &auto_load_python_scripts, _("\ -Set the debugger's behaviour regarding auto-loaded Python scripts, " +Set the debugger's behavior regarding auto-loaded Python scripts, " "deprecated."), _("\ -Show the debugger's behaviour regarding auto-loaded Python scripts, " +Show the debugger's behavior regarding auto-loaded Python scripts, " "deprecated."), NULL, NULL, show_auto_load_python_scripts, &setlist, &showlist); |