aboutsummaryrefslogtreecommitdiff
path: root/sim/common
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
commitd2d240ff89b4d3359ea70cdb47d3e79294ca891a (patch)
treed277cf5c4263881d513deb2d7389c2a0c1f4610b /sim/common
parent8dfa29fcbd60bead4d67569bd14c818540959130 (diff)
downloadbinutils-d2d240ff89b4d3359ea70cdb47d3e79294ca891a.zip
binutils-d2d240ff89b4d3359ea70cdb47d3e79294ca891a.tar.gz
binutils-d2d240ff89b4d3359ea70cdb47d3e79294ca891a.tar.bz2
[sim] Run spellcheck.sh in sim (part 1)
Run gdb/contrib/spellcheck.sh on directory sim. Fix auto-corrected typos: ... accessable -> accessible accidently -> accidentally accomodate -> accommodate adress -> address afair -> affair agains -> against agressively -> aggressively annuled -> annulled arbitary -> arbitrary arround -> around auxillary -> auxiliary availablity -> availability clasic -> classic comming -> coming controled -> controlled controling -> controlling destory -> destroy existance -> existence explictly -> explicitly faciliate -> facilitate fouth -> fourth fullfilled -> fulfilled guarentee -> guarantee hinderance -> hindrance independant -> independent inital -> initial loosing -> losing occurance -> occurrence occured -> occurred occuring -> occurring omited -> omitted oportunity -> opportunity parallely -> parallelly permissable -> permissible postive -> positive powerfull -> powerful preceed -> precede preceeding -> preceding preceeds -> precedes primative -> primitive probaly -> probably programable -> programmable propogate -> propagate propper -> proper recieve -> receive reconized -> recognized refered -> referred refering -> referring relevent -> relevant responisble -> responsible retreive -> retrieve safty -> safety specifiying -> specifying spontanous -> spontaneous sqaure -> square successfull -> successful supress -> suppress sytem -> system thru -> through transfered -> transferred trigered -> triggered unfortunatly -> unfortunately upto -> up to usefull -> useful wierd -> weird writen -> written doesnt -> doesn't isnt -> isn't ... Manually undid the "andd -> and" transformation in sim/testsuite/cr16/andd.cgs and sim/cr16/simops.c. Tested by rebuilding on x86_64-linux. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/dv-pal.c2
-rw-r--r--sim/common/hw-base.h2
-rw-r--r--sim/common/hw-device.h2
-rw-r--r--sim/common/hw-instances.h2
-rw-r--r--sim/common/hw-tree.c2
-rw-r--r--sim/common/sim-arange.c8
-rw-r--r--sim/common/sim-bits.h2
-rw-r--r--sim/common/sim-config.h2
-rw-r--r--sim/common/sim-core.h8
-rw-r--r--sim/common/sim-engine.h2
-rw-r--r--sim/common/sim-inline.h2
-rw-r--r--sim/common/sim-io.c2
-rw-r--r--sim/common/sim-resume.c2
13 files changed, 19 insertions, 19 deletions
diff --git a/sim/common/dv-pal.c b/sim/common/dv-pal.c
index dd251ab..c415cc5 100644
--- a/sim/common/dv-pal.c
+++ b/sim/common/dv-pal.c
@@ -96,7 +96,7 @@
non-zero 32 bit big-endian value to this register sets the
countdown timer to expire in VALUE ticks (ticks is target
dependant). Reading the countdown register returns the last value
- writen.
+ written.
COUNTDOWN VALUE (read): Reading this 32 bit big-endian register
returns the number of ticks remaining until the countdown timer
diff --git a/sim/common/hw-base.h b/sim/common/hw-base.h
index 01ea1e7..2843ab7 100644
--- a/sim/common/hw-base.h
+++ b/sim/common/hw-base.h
@@ -23,7 +23,7 @@
#ifndef HW_BASE
#define HW_BASE
-/* Create a primative device */
+/* Create a primitive device */
struct hw *hw_create
(struct sim_state *sd,
diff --git a/sim/common/hw-device.h b/sim/common/hw-device.h
index f64b2c2..bea9e94 100644
--- a/sim/common/hw-device.h
+++ b/sim/common/hw-device.h
@@ -170,7 +170,7 @@ typedef unsigned (hw_reset_method)
/* Hardware operations:
Connecting a parent to its children is a common bus. The parent
- node is described as the bus owner and is responisble for
+ node is described as the bus owner and is responsible for
co-ordinating bus operations. On the bus, a SPACE:ADDR pair is used
to specify an address. A device that is both a bus owner (parent)
and bus client (child) are referred to as a bridging device.
diff --git a/sim/common/hw-instances.h b/sim/common/hw-instances.h
index 789ccd3..2a8cb92 100644
--- a/sim/common/hw-instances.h
+++ b/sim/common/hw-instances.h
@@ -33,7 +33,7 @@
disks file system. The operations would be implemented using the
basic block I/O model provided by the disk.
- This model includes methods that faciliate the creation of device
+ This model includes methods that facilitate the creation of device
instance and (should a given device support it) standard operations
on those instances.
diff --git a/sim/common/hw-tree.c b/sim/common/hw-tree.c
index 5df3bd5..f3a855e 100644
--- a/sim/common/hw-tree.c
+++ b/sim/common/hw-tree.c
@@ -1264,7 +1264,7 @@ hw_tree_find_device (struct hw *root,
/* parse the path */
split_device_specifier (root, path_to_device, &spec);
if (spec.value != NULL)
- return NULL; /* something wierd */
+ return NULL; /* something weird */
/* now find it */
node = split_find_device (root, &spec);
diff --git a/sim/common/sim-arange.c b/sim/common/sim-arange.c
index a58b064..efdaae0 100644
--- a/sim/common/sim-arange.c
+++ b/sim/common/sim-arange.c
@@ -82,12 +82,12 @@ frob_range (ADDR_RANGE *ar, address_word start, address_word end, int delete_p)
{
if (! delete_p)
{
- /* Try next range if current range preceeds new one and not
+ /* Try next range if current range precedes new one and not
adjacent or overlapping. */
if (asr->end < caller->start - 1)
goto next_range;
- /* Break out if new range preceeds current one and not
+ /* Break out if new range precedes current one and not
adjacent or overlapping. */
if (asr->start > caller->end + 1)
break;
@@ -114,11 +114,11 @@ frob_range (ADDR_RANGE *ar, address_word start, address_word end, int delete_p)
}
else /* deleting a range */
{
- /* Try next range if current range preceeds new one. */
+ /* Try next range if current range precedes new one. */
if (asr->end < caller->start)
goto next_range;
- /* Break out if new range preceeds current one. */
+ /* Break out if new range precedes current one. */
if (asr->start > caller->end)
break;
diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h
index 53d8a12..63ac452 100644
--- a/sim/common/sim-bits.h
+++ b/sim/common/sim-bits.h
@@ -548,7 +548,7 @@ do { \
/* some rotate functions. The generic macro's ROT, ROTL, ROTR are
- intentionally omited. */
+ intentionally omitted. */
INLINE_SIM_BITS(uint8_t) ROT8 (uint8_t val, int shift);
diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h
index 9ca0149..2470378 100644
--- a/sim/common/sim-config.h
+++ b/sim/common/sim-config.h
@@ -141,7 +141,7 @@ extern enum bfd_endian current_target_byte_order;
expect to see (VEA includes things like coherency and the time
base) while OEA is what an operating system expects to see. By
setting these to specific values, the build process is able to
- eliminate non relevent environment code.
+ eliminate non relevant environment code.
STATE_ENVIRONMENT(sd) specifies which of vea or oea is required for
the current runtime.
diff --git a/sim/common/sim-core.h b/sim/common/sim-core.h
index 85a384a..a3b73b0 100644
--- a/sim/common/sim-core.h
+++ b/sim/common/sim-core.h
@@ -130,7 +130,7 @@ extern SIM_RC sim_core_install (SIM_DESC sd);
such that the byte alignmed of OPTIONAL_BUFFER matches ADDR vis
(OPTIONAL_BUFFER % 8) == (ADDR % 8)). It is defined to be a sub-optimal
hook that allows clients to do nasty things that the interface doesn't
- accomodate. */
+ accommodate. */
extern void sim_core_attach
(SIM_DESC sd,
@@ -161,7 +161,7 @@ extern void sim_core_detach
Transfer a variable sized block of raw data between the host and
target. Should any problems occur, the number of bytes
- successfully transfered is returned.
+ successfully transferred is returned.
No host/target byte endian conversion is performed. No xor-endian
conversion is performed.
@@ -207,7 +207,7 @@ extern void sim_core_set_xor
Transfer a variable sized block of raw data between the host and
target. Should any problems occur, the number of bytes
- successfully transfered is returned.
+ successfully transferred is returned.
No host/target byte endian conversion is performed. If applicable
(WITH_XOR_ENDIAN and xor-endian set), xor-endian conversion *is*
@@ -245,7 +245,7 @@ extern void *sim_core_trans_addr
/* Fixed sized, processor oriented, read/write.
Transfer a fixed amout of memory between the host and target. The
- data transfered is translated from/to host to/from target byte
+ data transferred is translated from/to host to/from target byte
order (including xor endian). Should the transfer fail, the
operation shall abort (no return).
diff --git a/sim/common/sim-engine.h b/sim/common/sim-engine.h
index 72f3972..af64f2f 100644
--- a/sim/common/sim-engine.h
+++ b/sim/common/sim-engine.h
@@ -134,7 +134,7 @@ extern void sim_engine_vabort
/* Called by the generic sim_resume to run the simulation within the
- above safty net.
+ above safety net.
An example implementation of sim_engine_run can be found in the
file sim-run.c */
diff --git a/sim/common/sim-inline.h b/sim/common/sim-inline.h
index 5d0ea65..091cd87 100644
--- a/sim/common/sim-inline.h
+++ b/sim/common/sim-inline.h
@@ -38,7 +38,7 @@
speed improvement (x3-x5). In the case of RISC (sparc) while the
performance gain isn't as great it is still significant.
- Each module is controled by the macro <module>_INLINE which can
+ Each module is controlled by the macro <module>_INLINE which can
have the values described below
0 (ZERO)
diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c
index 988c50e..196efe8 100644
--- a/sim/common/sim-io.c
+++ b/sim/common/sim-io.c
@@ -333,7 +333,7 @@ sim_io_poll_quit (SIM_DESC sd)
FIXME: Some completly new mechanism for handling the general
problem of asynchronous IO is needed.
- FIXME: This function does not supress the echoing (ECHO) of input.
+ FIXME: This function does not suppress the echoing (ECHO) of input.
Consequently polled input is always displayed.
FIXME: This function does not perform uncooked reads.
diff --git a/sim/common/sim-resume.c b/sim/common/sim-resume.c
index e2f260a..dd1a6c8 100644
--- a/sim/common/sim-resume.c
+++ b/sim/common/sim-resume.c
@@ -35,7 +35,7 @@ has_stepped (SIM_DESC sd,
}
-/* Generic resume - assumes the existance of sim_engine_run */
+/* Generic resume - assumes the existence of sim_engine_run */
void
sim_resume (SIM_DESC sd,