]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-02-10 Chris Demetriou <cgd@broadcom.com>
authorChris Demetriou <cgd@google.com>
Sun, 10 Feb 2002 23:11:37 +0000 (23:11 +0000)
committerChris Demetriou <cgd@google.com>
Sun, 10 Feb 2002 23:11:37 +0000 (23:11 +0000)
        * callback.c: Fix some spelling errors.
        * hw-device.h: Likewise.
        * hw-tree.c: Likewise.
        * sim-abort.c: Likewise.
        * sim-alu.h: Likewise.
        * sim-core.h: Likewise.
        * sim-events.c: Likewise.
        * sim-events.h: Likewise.
        * sim-fpu.h: Likewise.
        * sim-profile.h: Likewise.
        * sim-utils.c: Likewise.

12 files changed:
sim/common/ChangeLog
sim/common/callback.c
sim/common/hw-device.h
sim/common/hw-tree.c
sim/common/sim-abort.c
sim/common/sim-alu.h
sim/common/sim-core.h
sim/common/sim-events.c
sim/common/sim-events.h
sim/common/sim-fpu.h
sim/common/sim-profile.h
sim/common/sim-utils.c

index 967feb6bccf78c78833556312e9ab1ddcf449c96..8a0bc69aa389d9f4f9a960c65cb244014453b2a2 100644 (file)
@@ -1,3 +1,17 @@
+2002-02-10  Chris Demetriou  <cgd@broadcom.com>
+
+       * callback.c: Fix some spelling errors.
+       * hw-device.h: Likewise.
+       * hw-tree.c: Likewise.
+       * sim-abort.c: Likewise.
+       * sim-alu.h: Likewise.
+       * sim-core.h: Likewise.
+       * sim-events.c: Likewise.
+       * sim-events.h: Likewise.
+       * sim-fpu.h: Likewise.
+       * sim-profile.h: Likewise.
+       * sim-utils.c: Likewise.
+
 2002-01-31  Hans-Peter Nilsson  <hp@axis.com>
 
        * cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
index 19acca0e99889a7a3281a8521375b03f68f823fe..64b4e7cd379898d73183e301e3c8a1e7709028d0 100644 (file)
@@ -726,7 +726,7 @@ store (p, size, val, big_p)
    TS is ignored.
 
    The result is the size of the target's stat struct,
-   or zero if an error occured during the translation.  */
+   or zero if an error occurred during the translation.  */
 
 int
 cb_host_to_target_stat (cb, hs, ts)
index 2cbdc5adc465dc103af8ff06ed5ac20f7f8435c0..bb1568d6c45802bcc47957ddc41699f2e62a335d 100644 (file)
@@ -172,7 +172,7 @@ typedef unsigned (hw_reset_method)
    node is described as the bus owner and is responisble 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 refered to as a bridging device.
+   and bus client (child) are referred to as a bridging device.
 
    A child performing a data (DMA) transfer will pass its request to
    the bus owner (the devices parent).  The bus owner will then either
index 3f31b3b43941979a313bf052d83319aeb3c68190..f867bee263d31f6fc80d190cb7e19d44c147eac1 100644 (file)
@@ -681,7 +681,7 @@ parse_string_property (struct hw *current,
       /* copy it in */
       if (*chp == '"')
        {
-         /* a quoted string - watch for '\' et.al. */
+         /* a quoted string - watch for '\' et al. */
          /* estimate the size and allocate space for it */
          int pos;
          chp++;
index 088bf201a6854378f557bc719066a2ec3364a981..014f48b522c69d563e8d3ef02b1a1868e2457859 100644 (file)
@@ -28,7 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
    jump right out of the simulator.
 
    It is intended as a holder for simulators that have started to use
-   sim-core et.al. but are not yet in a position to use sim-engine
+   sim-core et al. but are not yet in a position to use sim-engine
    (the setjmp/longjmp code). */
 
 
index 49d1018527aa7512042973943f17f3c85a18167e..925fdb81e8e311429a85c32f1a41564640bd3fd3 100644 (file)
@@ -36,7 +36,7 @@
 
    Code using this module includes it into sim-main.h and then, as a
    convention, defines macro's ALU*_END that records the result of any
-   aritmetic performed.  Ex:
+   arithmetic performed.  Ex:
 
        #include "sim-alu.h"
        #define ALU32_END(RES) \
@@ -73,7 +73,7 @@
        ALU*_RESULT: Generic ALU result output.
 
        ALU*_HAD_OVERFLOW: Returns a nonzero value if signed overflow
-       occured.
+       occurred.
 
        ALU*_OVERFLOW_RESULT: If the macro ALU*_HAD_OVERFLOW is being
        used this is the most efficient result available.  Ex:
@@ -84,8 +84,8 @@
                (RES) = ALU16_OVERFLOW_RESULT
    
        ALU*_HAD_CARRY_BORROW: Returns a nonzero value if unsigned
-       overflow or underflow (also refered to as carry and borrow)
-       occured.
+       overflow or underflow (also referred to as carry and borrow)
+       occurred.
 
        ALU*_CARRY_BORROW_RESULT: If the macro ALU*_HAD_CARRY_BORROW is being
        used this is the most efficient result available.  Ex:
 
 
 
-/* Twos complement aritmetic - addition/subtraction - carry/borrow
+/* Twos complement arithmetic - addition/subtraction - carry/borrow
    (or you thought you knew the answer to 0-0)
 
    
    UMAXn: The upper bound of an unsigned N bit value (the lower
    bound is always zero).
 
-   Un: UMAXn + 1.  Unsigned arrithmetic is computed `modulo (Un)'.  
+   Un: UMAXn + 1.  Unsigned arithmetic is computed `modulo (Un)'.  
 
-   X[p]: Is bit P of X.  X[0] denotes the least signifant bit.
+   X[p]: Is bit P of X.  X[0] denotes the least significant bit.
 
    ~X[p]: Is the inversion of bit X[p]. Also equal to 1-X[p],
    (1+X[p])mod(2).
 
 
    Overflow/Overflow indicates an error in computation of signed
-   arrithmetic.  i.e. given X,Y in [MINn..MAXn]; overflow
+   arithmetic.  i.e. given X,Y in [MINn..MAXn]; overflow
    indicates that the result X+Y > MAXn or X+Y < MIN_INTx.
 
    Hardware traditionally implements overflow by computing the XOR of
    Addition - Overflow - method 1:
 
 
-   Overflow occures when the sign (most significant bit) of the two N
+   Overflow occurs when the sign (most significant bit) of the two N
    bit operands is identical but different to the sign of the result:
 
                 Rn = (Xn + Yn)
 
 
    The two N bit operands are sign extended to M>N bits and then
-   added.  Overflow occures when SIGN_BIT<n> and SIGN_BIT<m> do not
+   added.  Overflow occurs when SIGN_BIT<n> and SIGN_BIT<m> do not
    match.
   
                Rm = (SEXTn (Xn) + SEXTn (Yn))
 
 
    The two N bit operands are sign extended to M>N bits and then
-   added.  Overflow occures when the result is outside of the sign
+   added.  Overflow occurs when the result is outside of the sign
    extended range [MINn .. MAXn].
 
 
    Addition - Carry - Introduction:
 
 
-   Carry (poorly named) indicates that an overflow occured for
+   Carry (poorly named) indicates that an overflow occurred for
    unsigned N bit addition.  i.e. given X, Y in [0..UMAXn] then
    carry indicates X+Y > UMAXn or X+Y >= Un.
 
 
    Given two signed N bit numbers, a carry can be detected by treating
    the numbers as N bit unsigned and adding them using M>N unsigned
-   arrithmetic.  Carry is indicated by bit (1 << N) being set (result
+   arithmetic.  Carry is indicated by bit (1 << N) being set (result
    >= 2**N).
 
 
                0 <= X < Un, 0 <= Y < Un
        ==>     X + Y < 2 Un
 
-   Consider Y when carry occures:
+   Consider Y when carry occurs:
 
                X + Y >= Un, Y < Un
-       ==>     (Un - X) <= Y < Un               # re-arange
+       ==>     (Un - X) <= Y < Un               # rearrange
        ==>     Un <= X + Y < Un + X < 2 Un      # add Xn
        ==>     0 <= (X + Y) mod Un < X mod Un
 
-   or when carry as occured:
+   or when carry as occurred:
 
                (X + Y) mod Un < X mod Un
 
-   Consider Y when carry does not occure:
+   Consider Y when carry does not occur:
 
                X + Y < Un
        have    X < Un, Y >= 0
        ==>     X <= X + Y < Un
        ==>     X mod Un <= (X + Y) mod Un
 
-   or when carry has not occured:
+   or when carry has not occurred:
 
                ! ( (X + Y) mod Un < X mod Un)
 
-   hence we get carry by computing in N bit unsigned arrithmetic.
+   hence we get carry by computing in N bit unsigned arithmetic.
 
                 carry <- (Xn + Yn) < Xn
 
        ==>     X + ~Y + 1              # -Y = ~Y + 1
 
    In addition to the result, the equation produces Carry-out.  For
-   succeeding extended prrcision calculations, the more general
+   succeeding extended precision calculations, the more general
    equation can be used:
 
                C[p]:R[p]  =  X[p] + ~Y[p] + C[p-1]
 
 
    Treating Xn and Yn as unsigned values then a borrow (unsigned
-   underflow) occures when:
+   underflow) occurs when:
 
                B = Xn < Yn
        ==>     C = Xn >= Yn
@@ -491,7 +491,7 @@ do {                                                                        \
 
 /* 32 bit target expressions:
 
-   Since most hosts do not support 64 (> 32) bit arrithmetic, carry
+   Since most hosts do not support 64 (> 32) bit arithmetic, carry
    method 4 and overflow method 4 are used. */
 
 #define ALU32_BEGIN(VAL) \
@@ -518,7 +518,7 @@ alu32_v = 0
 /* 64 bit target expressions:
 
    Even though the host typically doesn't support native 64 bit
-   arrithmetic, it is still used. */
+   arithmetic, it is still used. */
 
 #define ALU64_BEGIN(VAL) \
 unsigned64 alu64_r = (VAL); \
index 182569e5aead844a5e24733a359c5f823cccab60..771e8a1b54bec357532909fa0b3749c7b148bb26 100644 (file)
@@ -167,7 +167,7 @@ extern void sim_core_detach
 /* Variable sized read/write
 
    Transfer a variable sized block of raw data between the host and
-   target.  Should any problems occure, the number of bytes
+   target.  Should any problems occur, the number of bytes
    successfully transfered is returned.
 
    No host/target byte endian conversion is performed.  No xor-endian
@@ -213,7 +213,7 @@ extern void sim_core_set_xor
 /* XOR version of variable sized read/write.
 
    Transfer a variable sized block of raw data between the host and
-   target.  Should any problems occure, the number of bytes
+   target.  Should any problems occur, the number of bytes
    successfully transfered is returned.
 
    No host/target byte endian conversion is performed.  If applicable
index 1866b2dccd7aa9db7cbc5b52a4986bc6e676151c..22531e3ece27f9bc9361b6ae1a840b0a3adc1457 100644 (file)
@@ -37,7 +37,7 @@
 #include <stdlib.h>
 #endif
 
-#include <signal.h> /* For SIGPROCMASK et.al. */
+#include <signal.h> /* For SIGPROCMASK et al. */
 
 typedef enum {
   watch_invalid,
@@ -112,7 +112,7 @@ struct _sim_event {
    variables.
    
    TIME_OF_EVENT: this holds the time at which the next event is ment
-   to occure.  If no next event it will hold the time of the last
+   to occur.  If no next event it will hold the time of the last
    event.
 
    TIME_FROM_EVENT: The current distance from TIME_OF_EVENT.  A value
@@ -447,7 +447,7 @@ insert_sim_event (SIM_DESC sd,
   if (delta < 0)
     sim_io_error (sd, "what is past is past!\n");
   
-  /* compute when the event should occure */
+  /* compute when the event should occur */
   time_of_event = sim_events_time (sd) + delta;
   
   /* find the queue insertion point - things are time ordered */
index 55b2b740c918d334651747d21df071880840fbbe..7a0da7b8ca8831b6c17daa95cdc3ef2645271900 100644 (file)
@@ -245,7 +245,7 @@ INLINE_SIM_EVENTS\
  int slip);
 
 
-/* Progress time such that an event shall occure upon the next call to
+/* Progress time such that an event shall occur upon the next call to
    sim_events tick */
 
 #if 0
index 0be3fb1d2dcc994e1db12af2615930f5c2d87602..755e194d1acc36581256d85bc6e286c53d198bbd 100644 (file)
@@ -321,7 +321,7 @@ INLINE_SIM_FPU (int) sim_fpu_exp (const sim_fpu *s);
 
 /* Specific comparison operators
 
-   For NaNs et.al., the comparison operators will set IS to zero and
+   For NaNs et al., the comparison operators will set IS to zero and
    return a nonzero result. */
 
 INLINE_SIM_FPU (int) sim_fpu_lt (int *is, const sim_fpu *l, const sim_fpu *r);
index 81fad7d1cad38debcb949eb129c30ec0c8ba8aa6..5936a59b62586dc9c6b4a16d23077612d7e5e196 100644 (file)
@@ -96,7 +96,7 @@ SIM_RC sim_profile_set_option (SIM_DESC sd_, const char *name_, int idx_,
 #define WITH_PROFILE_CORE_P (WITH_PROFILE & PROFILE_core)
 
 /* If MAX_TARGET_MODES isn't defined, we can't do memory profiling.
-   ??? It is intended that this is a temporary occurence.  Normally
+   ??? It is intended that this is a temporary occurrence.  Normally
    MAX_TARGET_MODES is defined.  */
 #ifndef MAX_TARGET_MODES
 #undef WITH_PROFILE_MEMORY_P
index 6184f1b10ebffbfd910b65f2568a164359140ff4..66b06416ce0468bf9e8584b452d6f0772d4551f2 100644 (file)
@@ -314,7 +314,7 @@ sim_elapsed_time_get ()
 }
 
 /* Return the elapsed time in milliseconds since START.
-   The actual time may be cpu usage (prefered) or wall clock.  */
+   The actual time may be cpu usage (preferred) or wall clock.  */
 
 unsigned long
 sim_elapsed_time_since (start)