]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
spelling fixes
authorDirk Mueller <daywalker@users.sourceforge.net>
Fri, 4 Jul 2003 16:18:15 +0000 (16:18 +0000)
committerDirk Mueller <daywalker@users.sourceforge.net>
Fri, 4 Jul 2003 16:18:15 +0000 (16:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1715

14 files changed:
coregrind/demangle/cp-demangle.c
coregrind/demangle/cplus-dem.c
coregrind/docs/coregrind_core.html
coregrind/vg_include.h
coregrind/vg_ldt.c
coregrind/vg_main.c
coregrind/vg_signals.c
coregrind/vg_symtab2.c
coregrind/vg_syscalls.c
coregrind/vg_to_ucode.c
helgrind/hg_main.c
include/vg_skin.h
memcheck/docs/mc_techdocs.html
tests/unused/pth_threadpool.c

index 489cac158d22a3d1b2966ee7e27a25ad652f20c9..355d467a889bf9880a101a9e86e79ec6f20880ff 100644 (file)
@@ -78,7 +78,7 @@
 #define NAMESPACE_SEPARATOR (dm->style == DMGL_JAVA ? "." : "::")
 
 /* If flag_verbose is zero, some simplifications will be made to the
-   output to make it easier to read and supress details that are
+   output to make it easier to read and suppress details that are
    generally not of interest to the average C++ programmer.
    Otherwise, the demangled representation will attempt to convey as
    much information as the mangled form.  */
@@ -523,7 +523,7 @@ result_shift_caret (dm, position_offset)
 
 /* Returns non-zero if the character that comes right before the place
    where text will be added to the result is a space.  In this case,
-   the caller should supress adding another space.  */
+   the caller should suppress adding another space.  */
 
 static int
 result_previous_char_is_space (dm)
@@ -2459,7 +2459,7 @@ demangle_type (dm)
            RETURN_IF_ERROR 
              (demangle_class_enum_type (dm, &encode_return_type));
            /* If all that was just demangled is the two-character
-              special substitution token, supress the addition of a
+              special substitution token, suppress the addition of a
               new candidate for it.  */
            if (dm->next == next + 2)
              is_substitution_candidate = 0;
@@ -3830,7 +3830,7 @@ VG_(java_demangle_v3) (mangled)
   end = next + len;
   demangled = NULL;
 
-  /* Replace occurances of JArray<TYPE> with TYPE[]. */
+  /* Replace occurrences of JArray<TYPE> with TYPE[]. */
   while (next < end)
     {
       char *open_str = VG_(strstr) (next, "JArray<");
index ed16d24190e93a607c22cbe6be3020037574c240..3b9da8eb559e594b2ab3c5bc8ac93e3b643225ca 100644 (file)
@@ -1111,7 +1111,7 @@ ada_demangle (mangled, option)
 /* This function performs most of what cplus_demangle use to do, but
    to be able to demangle a name with a B, K or n code, we need to
    have a longer term memory of what types have been seen. The original
-   now intializes and cleans up the squangle code info, while internal
+   now initializes and cleans up the squangle code info, while internal
    calls go directly to this routine to avoid resetting that info. */
 
 static char *
@@ -2624,7 +2624,7 @@ iterate_demangle_function (work, mangled, declp, scan)
   /* Iterate over occurrences of __, allowing names and types to have a
      "__" sequence in them.  We must start with the first (not the last)
      occurrence, since "__" most often occur between independent mangled
-     parts, hence starting at the last occurence inside a signature
+     parts, hence starting at the last occurrence inside a signature
      might get us a "successful" demangling of the signature.  */
 
   while (scan[2])
index e1cbc06a27fd7f9159a02e2fbfde1d766c9eebfb..d9cc53738923f2ccd99b86a78d0ee274e984e547 100644 (file)
@@ -126,7 +126,7 @@ newer DWARF2 reader.
 <p>
 When you're ready to roll, just run your application as you would
 normally, but place <code>valgrind --skin=the-selected-skin</code> in
-front of your usual command-line invokation.  Note that you should run
+front of your usual command-line invocation.  Note that you should run
 the real (machine-code) executable here.  If your application is
 started by, for example, a shell or perl script, you'll need to modify
 it to invoke Valgrind on the real executables.  Running such scripts
@@ -1193,7 +1193,7 @@ a kernel 2.2.X or 2.4.X system, subject to the following constraints:
   <li>Valgrind's signal simulation is not as robust as it could be.
       Basic POSIX-compliant sigaction and sigprocmask functionality is
       supplied, but it's conceivable that things could go badly awry
-      if you do wierd things with signals.  Workaround: don't.
+      if you do weird things with signals.  Workaround: don't.
       Programs that do non-POSIX signal tricks are in any case
       inherently unportable, so should be avoided if
       possible.</li><br>
index f85819c27e27fe85c3c38b772da84310e5b964c5..ca5a1d9c5a7a662e907e86df2e009fbc37cd7f46 100644 (file)
@@ -234,7 +234,7 @@ extern ULong VG_(clo_stop_after);
 extern Int   VG_(clo_dump_error);
 /* Number of parents of a backtrace.  Default: 8.  */
 extern Int   VG_(clo_backtrace_size);
-/* Engage miscellaneous wierd hacks needed for some progs. */
+/* Engage miscellaneous weird hacks needed for some progs. */
 extern Char* VG_(clo_weird_hacks);
 /* Should we run __libc_freeres at exit?  Sometimes causes crashes.
    Default: YES.  Note this is subservient to VG_(needs).libc_freeres;
index 129a43257bba1259b6ca2edf357a85728f9d2d8c..0c3372f1da17f5ce3c756243e9e864d1e1b231ce 100644 (file)
@@ -162,7 +162,7 @@ Addr VG_(do_useseg) ( UInt seg_selector, Addr virtual_addr )
    seg_selector &= 0x0000FFFF;
   
    /* Sanity check the segment selector.  Ensure that TI=1 (LDT) and
-      that RPL=11b (least priviledge).  These form the bottom 3 bits
+      that RPL=11b (least privilege).  These form the bottom 3 bits
       of the selector. */
    vg_assert((seg_selector & 7) == 7);
 
index 8555bc2fe93d1ab3187c8bd9c940a0a1c8ff4678..746d681230527bc89b70cc18bbf39a856858a046 100644 (file)
@@ -449,7 +449,7 @@ Bool VG_(logging_to_filedes) = True;
    vg_startup.S.  We have to determine it early since we can't even
    correctly snapshot the startup machine state without it. */
 /* Initially True.  Safer to err on the side of SSEness and get SIGILL
-   than to not notice for some reason that we have SSE and get wierd
+   than to not notice for some reason that we have SSE and get weird
    errors later on. */
 Bool VG_(have_ssestate) = True;
 
index 0079a9481d0ecd9993fc88f292abbd2587ede5e9..3c9ba1ca9d6ad2b2b41d44c60af523ab638a5103 100644 (file)
@@ -1233,7 +1233,7 @@ Bool VG_(deliver_signals) ( void )
          client really has a handler for this thread! */
       vg_assert(vg_dcss.dcss_sigpending[sigNo]);
 
-      /* A recent addition, so as to stop seriously wierd progs dying
+      /* A recent addition, so as to stop seriously weird progs dying
          at the following assertion (which this renders redundant,
          btw). */
       if (vg_scss.scss_per_sig[sigNo].scss_handler == VKI_SIG_IGN
index 3de0293319b690275b1f58df3ab614827847e2fc..19939510e520c6e4ffe980f307d2f97fbe0c8954 100644 (file)
@@ -1138,7 +1138,7 @@ void read_debuginfo_dwarf2 ( SegInfo* si, UChar* dwarf2, Int dwarf2_sz )
             understand this wrong, but I don't think so.
 
             I just had a look at the GDB DWARF2 reader...  They
-            completly ignore "is_stmt" when recording line info ;-)
+            completely ignore "is_stmt" when recording line info ;-)
             That's the reason "objdump -S" works on files from the the
             intel fortran compiler.  
          */
index b79ada6d24cc668c31012d2dec439806df7f5aea..291cddf9c2bc5c05c1a017fc1cdad0bc1b55a4cb 100644 (file)
@@ -183,7 +183,7 @@ void mremap_segment ( Addr old_addr, UInt old_size, Addr new_addr,
    might return a large offset.  Therefore we must not anymore test
    for < 0, but test for a real error by making sure the value in %eax
    is a real error number.  Linus said he will make sure the no syscall
-   returns a value in -1 .. -4095 as a valid result so we can savely
+   returns a value in -1 .. -4095 as a valid result so we can safely
    test with -4095.  
 
    END QUOTE
index c2272ab7574781f15635af0e23024032ca8359fb..cdf04b1e6254f9f177d754abaa2d0395e238713c 100644 (file)
@@ -4559,7 +4559,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       if (dis) VG_(printf)("leave");
       break;
 
-   /* ---------------- Misc wierd-ass insns --------------- */
+   /* ---------------- Misc weird-ass insns --------------- */
 
    case 0x27: /* DAA */
    case 0x2F: /* DAS */
index f29b980a4cfae75aa2fc30e564cbb68ca5667bcf..456378038d473efd7a6ad8bd9a0ddb01fab6812d 100644 (file)
@@ -308,7 +308,7 @@ static inline EC_EIP getExeContext(Addr a)
  * segments are arranged to form an interference graph which indicates
  * whether two thread lifetime segments can possibly be concurrent.
  * If not, then memory with is exclusively accessed by one TLS can be
- * passed on to another TLS without an error occuring, and without
+ * passed on to another TLS without an error occurring, and without
  * moving it from Excl state.
  *
  * At present this only considers thread creation and join as
index 86632e7f419b989d561edefc330ca5d8052065d9..cc5cfe572fe5b86c9469fe3c2afbdf15a6b616b0 100644 (file)
@@ -512,7 +512,7 @@ typedef
    enum {
       NOP,         /* Null op */
 
-      LOCK,       /* Indicate the existance of a LOCK prefix (functionally NOP) */
+      LOCK,       /* Indicate the existence of a LOCK prefix (functionally NOP) */
 
       /* Moving values around */
       GET,  PUT,   /* simulated register <--> TempReg */
index 50899ea93ede521519259dea95f272e8227e0daa..29ff9aebc79e038f0e928eee00a633d2a6f86147 100644 (file)
@@ -1327,7 +1327,7 @@ Improved code:
 
 Once you understand the meaning of the instrumentation uinstrs,
 discussed in detail above, the instrumentation scheme is fairly
-straighforward.  Each uinstr is instrumented in isolation, and the
+straightforward.  Each uinstr is instrumented in isolation, and the
 instrumentation uinstrs are placed before the original uinstr.
 Our running example continues below.  I have placed a blank line 
 after every original ucode, to make it easier to see which
@@ -1346,7 +1346,7 @@ scheme, only checking where a failure of validity could cause the
 original program to (seg)fault.  So the use of values as memory
 addresses causes a check, as do conditional jumps (these cause a check
 on the definedness of the condition codes).  And arguments
-<code>PUSH</code>ed for helper calls are checked, hence the wierd
+<code>PUSH</code>ed for helper calls are checked, hence the weird
 restrictions on help call preambles described above.
 
 <p>
index 30f15955ec504969be504de61257dd368f7a1db3..2da195019552a06c7d3f79ecca822a053c4d43df 100644 (file)
@@ -293,7 +293,7 @@ void *tpool_thread(void *arg)
     else
       tpool->queue_head = my_workp->next;
  
-    printf("worker %d: dequeing item %d\n", pthread_self(), my_workp->next);
+    printf("worker %d: dequeuing item %d\n", pthread_self(), my_workp->next);
 
     /* Handle waiting add_work threads */
     if ((!tpool->do_not_block_when_full) &&