aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/sh')
-rw-r--r--sim/sh/interp.c8
-rw-r--r--sim/sh/local.mk2
-rw-r--r--sim/sh/sh-sim.h2
-rw-r--r--sim/sh/sim-main.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index bbf26bb..c8c2a74 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -146,7 +146,7 @@ static int maskl = 0;
/* Alternate bank of registers r0-r7 */
-/* Note: code controling SR handles flips between BANK0 and BANK1 */
+/* Note: code controlling SR handles flips between BANK0 and BANK1 */
#define Rn_BANK(n) (saved_state.asregs.bank[(n)])
#define SET_Rn_BANK(n, EXP) do { saved_state.asregs.bank[(n)] = (EXP); } while (0)
@@ -726,7 +726,7 @@ static int nsamples;
#define SSR1 (0x05FFFECC) /* Channel 1 serial status register */
#define RDR1 (0x05FFFECD) /* Channel 1 receive data register */
-#define SCI_RDRF 0x40 /* Recieve data register full */
+#define SCI_RDRF 0x40 /* Receive data register full */
#define SCI_TDRE 0x80 /* Transmit data register empty */
static int
@@ -1238,7 +1238,7 @@ macl (int *regs, unsigned char *memory, int n, int m)
mach |= 0xffff8000; /* Sign extend higher 16 bits */
}
else
- mach = mach & 0x00007fff; /* Postive Result */
+ mach = mach & 0x00007fff; /* Positive Result */
}
MACL = macl;
@@ -1712,7 +1712,7 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
register int endianw = global_endianw;
int tick_start = get_now ();
- void (*prev_fpe) ();
+ void (*prev_fpe) (int);
register unsigned short *jump_table = sh_jump_table;
diff --git a/sim/sh/local.mk b/sim/sh/local.mk
index d0daa74..def8c1c 100644
--- a/sim/sh/local.mk
+++ b/sim/sh/local.mk
@@ -1,6 +1,6 @@
## See sim/Makefile.am
##
-## Copyright (C) 1990-2024 Free Software Foundation, Inc.
+## Copyright (C) 1990-2025 Free Software Foundation, Inc.
## Written by Cygnus Support.
##
## This program is free software; you can redistribute it and/or modify
diff --git a/sim/sh/sh-sim.h b/sim/sh/sh-sim.h
index c2cbe40..2d8b613 100644
--- a/sim/sh/sh-sim.h
+++ b/sim/sh/sh-sim.h
@@ -1,5 +1,5 @@
/* Moxie Simulator definition.
- Copyright (C) 2009-2024 Free Software Foundation, Inc.
+ Copyright (C) 2009-2025 Free Software Foundation, Inc.
This file is part of the GNU simulators.
diff --git a/sim/sh/sim-main.h b/sim/sh/sim-main.h
index 34ac9c8..713de39 100644
--- a/sim/sh/sim-main.h
+++ b/sim/sh/sim-main.h
@@ -1,5 +1,5 @@
/* Moxie Simulator definition.
- Copyright (C) 2009-2024 Free Software Foundation, Inc.
+ Copyright (C) 2009-2025 Free Software Foundation, Inc.
This file is part of GDB, the GNU debugger.