[PATCH 4/4] [sim] Run spellcheck.sh in sim (part 2)

Eli Zaretskii eliz@gnu.org
Sat Nov 16 07:29:15 GMT 2024


> From: Tom de Vries <tdevries@suse.de>
> Date: Fri, 15 Nov 2024 18:01:30 +0100
> 
> Run gdb/contrib/spellcheck.sh on directory sim.
> 
> Fix these todos:
> ...
> TODO: inbetween -> between, in between, in-between
> TODO: behavour -> behavior, behaviour
> TODO: firts -> flirts, first
> TODO: wich -> which, witch
> ...
> 
> Tested by rebuilding on x86_64-linux.
> ---
>  sim/d10v/interp.c                  | 2 +-
>  sim/erc32/README.erc32             | 2 +-
>  sim/erc32/README.gdb               | 2 +-
>  sim/ppc/interrupts.h               | 2 +-
>  sim/ppc/os_emul.h                  | 4 ++--
>  sim/testsuite/mips/hilo-hazard-3.s | 2 +-
>  sim/testsuite/mips/hilo-hazard-4.s | 2 +-
>  7 files changed, 8 insertions(+), 8 deletions(-)

Thanks.

> -   (it once was like that) I've decided to make the behavour of all
> +   (it once was like that) I've decided to make the behaviour of all
                                                       ^^^^^^^^^
This should be "behavior", the US English spelling we use in our
documentation.

>  /* System-call emulation - for user code.  Instead of trapping system
> -   calls to kernel mode, the simulator emulates the kernels behavour */
> +   calls to kernel mode, the simulator emulates the kernels behaviour */

Same here.

> -   the required behavour.  If the verification fails, a zero value
> +   the required behaviour.  If the verification fails, a zero value

And here.

The documentation parts are okay with those nits fixed.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>


More information about the Gdb-patches mailing list