]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[sim] Run spellcheck.sh in sim (part 2)
authorTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +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.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Tom Tromey <tom@tromey.com>
sim/d10v/interp.c
sim/erc32/README.erc32
sim/erc32/README.gdb
sim/ppc/interrupts.h
sim/ppc/os_emul.h
sim/testsuite/mips/hilo-hazard-3.s
sim/testsuite/mips/hilo-hazard-4.s

index d6a9461852411208f9424f0e97ee33d36e89325c..f105e4fb90364770b56b53c248db3631c7437737 100644 (file)
@@ -964,7 +964,7 @@ step_once (SIM_DESC sd, SIM_CPU *cpu)
        {
          if (PSW_RP && PC == RPT_E)
            {
-             /* Note: The behavour of a branch instruction at RPT_E
+             /* Note: The behavior of a branch instruction at RPT_E
                 is implementation dependant, this simulator takes the
                 branch.  Branching to RPT_E is valid, the instruction
                 must be executed before the loop is taken.  */
index f413599294c1cd1a258b973cef2b63d6ffa0d6f9..45ae22bb2a58c248e0aa96d6b2ef6c1cbff9c920 100644 (file)
@@ -59,7 +59,7 @@ register is updated accordingly. Implemeted registers are:
 - Breakpoint register                          (0x01f800c4, write-only)
 - Watchpoint register                          (0x01f800c8, write-only)
 - System fault status register                 (0x01f800a0, read-write)
-- Firts failing address register               (0x01f800a4, read-write)
+- First failing address register               (0x01f800a4, read-write)
 
 
 1.5 Memory interface
index 619fcb38fc949ff05e9921663e292f2ce358b7b0..cfad07fe0f8d3b14a13c2a573329d12a4de49661 100644 (file)
@@ -45,7 +45,7 @@ For info on supported ERC32 functionality, see README.sis.
 
 The GDB load command loads an aout file into the simulator
 memory with the data section starting directly after the text
-section regardless of wich start address was specified for the data
+section regardless of which start address was specified for the data
 at link time! This means that your applications either has to include
 a routine that initialise the data segment at the proper address or
 link with the data placed directly after the text section.
index 717112933098b9e016e63d0f7c0274dfab92538a..531f4ffba1f74fcd2e16fad071234f8ff7bf944b 100644 (file)
@@ -33,7 +33,7 @@
    restart. (or to put it another way, long jump).  In looking at the
    code it may occure to you that, for some interrupts, they could
    return instead of restarting the cpu (eg system_call).  While true
-   (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 behavior of all
    interrupt routines roughly identical.
 
    Because, a cpu's recorded state (ie what is in the cpu structure)
index fdc2579bb265a95b5b0ca2f23433b15e2fc7d850..256b6aaffb3fa6e01391f26668e3ede8c15c3a63 100644 (file)
@@ -35,7 +35,7 @@ INLINE_OS_EMUL\
 
 
 /* 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 behavior */
 
 INLINE_OS_EMUL\
 (void) os_emul_system_call
@@ -47,7 +47,7 @@ INLINE_OS_EMUL\
    instructions are added to the instruction table that when executed
    call this emulation function. The instruction call emulator should
    verify the address that the instruction appears before emulating
-   the required behavour.  If the verification fails, a zero value
+   the required behavior.  If the verification fails, a zero value
    should be returned (indicating instruction illegal). */
 
 INLINE_OS_EMUL\
index 9d50da2a07dd65781addf9e12f56e37823a30c42..4c0aebfa9f0ad1e33fd995edd17f52b6ed7a51a0 100644 (file)
@@ -1,4 +1,4 @@
-# Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops inbetween.
+# Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops in between.
 #
 # mach:                -mips32r6 -mips64r6 all
 # as:          -mabi=eabi
index 03c000c719e7748464af35361db6255757c7e9f5..d44a97497b0363e5a959375f3c0b2f17c1f062d5 100644 (file)
@@ -1,4 +1,4 @@
-# Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops inbetween.
+# Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops in between.
 #
 # mach:                all
 # as:          -mabi=eabi -mmicromips