aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-11-23 13:07:38 +0100
committerTom de Vries <tdevries@suse.de>2024-11-23 13:07:38 +0100
commit2c781c5fcf82741d84cce66d3f86e6a0f4e6269a (patch)
treeff3d8c8179f9b514830c45a1b07fd883da9b4aac /sim/ppc
parent9f43244a41e901027c8ab56f004936042e55d3c0 (diff)
downloadgdb-2c781c5fcf82741d84cce66d3f86e6a0f4e6269a.zip
gdb-2c781c5fcf82741d84cce66d3f86e6a0f4e6269a.tar.gz
gdb-2c781c5fcf82741d84cce66d3f86e6a0f4e6269a.tar.bz2
[sim] Run spellcheck.sh in sim (part 2)
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>
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/interrupts.h2
-rw-r--r--sim/ppc/os_emul.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sim/ppc/interrupts.h b/sim/ppc/interrupts.h
index 7171129..531f4ff 100644
--- a/sim/ppc/interrupts.h
+++ b/sim/ppc/interrupts.h
@@ -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)
diff --git a/sim/ppc/os_emul.h b/sim/ppc/os_emul.h
index fdc2579..256b6aa 100644
--- a/sim/ppc/os_emul.h
+++ b/sim/ppc/os_emul.h
@@ -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\