]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix typos
authorTom de Vries <tdevries@suse.de>
Tue, 3 Sep 2024 15:30:37 +0000 (17:30 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 3 Sep 2024 15:30:37 +0000 (17:30 +0200)
Fix a few typos.

unconditionaly -> unconditionally
gratuitiously -> gratuitously
configureable -> configurable
represention -> representation
distiguished -> distinguished
breakpointer -> breakpoint
asssignments -> assignments
architectual -> architectural
compatibity -> compatibility
adjustement -> adjustment
unexcepted -> unexpected
propogated -> propagated
consistant -> consistent
succeding -> succeeding
higlight -> highlight
detachs -> detach

Tested by rebuilding on x86_64-linux.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
18 files changed:
gdb/ada-exp.y
gdb/ada-lang.c
gdb/bfin-tdep.c
gdb/breakpoint.h
gdb/btrace.h
gdb/elfread.c
gdb/gdbtypes.c
gdb/gnu-nat.c
gdb/ia64-tdep.c
gdb/mep-tdep.c
gdb/mips-tdep.c
gdb/sh-tdep.c
gdb/source-cache.c
gdb/stabsread.c
gdb/stubs/m32r-stub.c
gdb/testsuite/gdb.base/savedregs.exp
gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c
gdb/yy-remap.h

index cdfaa3af05e0c59292582634061363c557af2875..b9f84ee0222049e77425de708caf8dd0013676e4 100644 (file)
@@ -1232,7 +1232,7 @@ primary   :       '*' primary             %prec '.'
 /* yylex defined in ada-lex.c: Reads one token, getting characters */
 /* through lexptr.  */
 
-/* Remap normal flex interface names (yylex) as well as gratuitiously */
+/* Remap normal flex interface names (yylex) as well as gratuitously */
 /* global symbol names, so we can have multiple flex-generated parsers */
 /* in gdb.  */
 
index 83794f97825cda5df4b11ee2f2784c6f035005e6..d77fa3c54b801cc138e22dfdab88cee9b2cfc617 100644 (file)
@@ -12637,7 +12637,7 @@ ada_exception_catchpoint_cond_string (const char *excep_string,
      may then be set only on user-defined exceptions which have the
      same not-fully-qualified name (e.g. my_package.constraint_error).
 
-     To avoid this unexcepted behavior, these standard exceptions are
+     To avoid this unexpected behavior, these standard exceptions are
      systematically prefixed by "standard".  This means that "catch
      exception constraint_error" is rewritten into "catch exception
      standard.constraint_error".
index b89b7dfa6d8b380761210759e55b3cd0e33935fa..1fa7a66d043d3d5ced3a0996125802e31f839b38 100644 (file)
@@ -465,7 +465,7 @@ bfin_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
 
    /* TODO:
       Dwarf2 uses entry point value AFTER some register initializations.
-      We should perhaps skip such asssignments as well (R6 = R1, ...).  */
+      We should perhaps skip such assignments as well (R6 = R1, ...).  */
 
   return pc;
 }
index ddc37196661b9cf67af0acb0dcd95380adcc75fd..87a521fab8386b93e23c87703d0b3d37dfedc0b7 100644 (file)
@@ -452,7 +452,7 @@ public:
      as ``address'' (above) except for cases in which
      ADJUST_BREAKPOINT_ADDRESS has computed a different address at
      which to place the breakpoint in order to comply with a
-     processor's architectual constraints.  */
+     processor's architectural constraints.  */
   CORE_ADDR requested_address = 0;
 
   /* An additional address assigned with this location.  This is currently
index 34f8d2be5ce4bbcb696ee288b560be8f63299da0..75bc4f81ee423e415eea563295b5c762bc84743e 100644 (file)
@@ -184,7 +184,7 @@ struct btrace_function
 
   /* The instruction number offset for the first instruction in this
      function segment.
-     If INSN is empty this is the insn_offset of the succeding function
+     If INSN is empty this is the insn_offset of the succeeding function
      segment in control-flow order.  */
   unsigned int insn_offset;
 
index c71a142396058861b5b1b4fdad21f480b0fa2789..5371b99f0516a63caa6991bffa6c854e67f6926b 100644 (file)
@@ -977,7 +977,7 @@ elf_gnu_ifunc_resolver_stop (code_breakpoint *b)
   if (b_return == b)
     {
       /* No need to call find_pc_line for symbols resolving as this is only
-        a helper breakpointer never shown to the user.  */
+        a helper breakpoint never shown to the user.  */
 
       symtab_and_line sal;
       sal.pspace = current_inferior ()->pspace;
index f39fe3de6a4eba092e7bcd9d64c54413612544b4..1cf5f486bd806a6f5d26109569e07b7ffc1721be 100644 (file)
@@ -816,7 +816,7 @@ make_atomic_type (struct type *type)
 
 /* Replace the contents of ntype with the type *type.  This changes the
    contents, rather than the pointer for TYPE_MAIN_TYPE (ntype); thus
-   the changes are propogated to all types in the TYPE_CHAIN.
+   the changes are propagated to all types in the TYPE_CHAIN.
 
    In order to build recursive types, it's inevitable that we'll need
    to update types in place --- but this sort of indiscriminate
index 7f1614cd8151e641504e8cc47dfbd35b5e25bfe4..6cfac08e5ac81287e9417e9659209042d33a756e 100644 (file)
@@ -1221,7 +1221,7 @@ inf_update_signal_thread (struct inf *inf)
 }
 
 \f
-/* Detachs from INF's inferior task, letting it run once again...  */
+/* Detach from INF's inferior task, letting it run once again...  */
 void
 gnu_nat_target::inf_detach (struct inf *inf)
 {
index 27393043c65680f3ed4db527af4f720406c49190..b0c1ad3d0ab8fdee56de5a7a49dad51752527562 100644 (file)
@@ -3844,7 +3844,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
      a dummy code sequence pushed on the stack to make the call, and
      this sequence doesn't need b0 to be set in order for our dummy
      breakpoint to be hit.  Nonetheless, this doesn't interfere, and
-     it's needed for other OSes, so we do this unconditionaly.  */
+     it's needed for other OSes, so we do this unconditionally.  */
   regcache_cooked_write_unsigned (regcache, IA64_BR0_REGNUM, bp_addr);
 
   regcache_cooked_write_unsigned (regcache, sp_regnum, sp);
index 913889ecfb2d59d56d5ad7fbd734de14432151a4..a4ef343f9dcd8f2a88c44e9e05c3ba34fade02a6 100644 (file)
@@ -60,7 +60,7 @@
 /* A quick recap for GDB hackers not familiar with the whole Toshiba
    Media Processor story:
 
-   The MeP media engine is a configureable processor: users can design
+   The MeP media engine is a configurable processor: users can design
    their own coprocessors, implement custom instructions, adjust cache
    sizes, select optional standard facilities like add-and-saturate
    instructions, and so on.  Then, they can build custom versions of
index f000d2fd043109802f47aab1bc471cb5cccf1b24..006bc9270cadd1cc38bec7d9fc4d2e245004739a 100644 (file)
@@ -4505,7 +4505,7 @@ mips_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp,
      breakpoints inserted in a branch delay slot.  With enough
      bad luck, the 4 bytes located just before our breakpoint
      instruction could look like a branch instruction, and thus
-     trigger the adjustement, and break the function call entirely.
+     trigger the adjustment, and break the function call entirely.
      So, we reserve those 4 bytes and write a nop instruction
      to prevent that from happening.  */
   nop_addr = bp_slot - sizeof (nop_insn);
index 0dbb905f1db3646b1ce0f5d95551173ea0784dec..050f7bffa0c5472c839c0e427ccf17500c086bbf 100644 (file)
@@ -2171,7 +2171,7 @@ sh_corefile_collect_regset (const struct regset *regset,
 }
 
 /* The following two regsets have the same contents, so it is tempting to
-   unify them, but they are distiguished by their address, so don't.  */
+   unify them, but they are distinguished by their address, so don't.  */
 
 const struct regset sh_corefile_gregset =
 {
index 6af984fb88bff67f6ec8e93d6ce48248bf8ea12e..2815b6e711d5b26861c1c88a5829dd326d60c291 100644 (file)
@@ -195,7 +195,7 @@ get_language_name (enum language lang)
 #endif /* HAVE_SOURCE_HIGHLIGHT */
 
 /* Try to highlight CONTENTS from file FULLNAME in language LANG using
-   the GNU source-higlight library.  Return true if highlighting
+   the GNU source-highlight library.  Return true if highlighting
    succeeded.  */
 
 static bool
index 1158519623455b5c9cbaff21f74e3a602b05b4d3..46536ba21c7b40ed2afe649b82dd31953a3cf102 100644 (file)
@@ -3911,7 +3911,7 @@ read_huge_number (const char **pp, int end, int *bits,
        }
 
       /* -0x7f is the same as 0x80.  So deal with it by adding one to
-        the number of bits.  Two's complement represention octals
+        the number of bits.  Two's complement representation octals
         can't have a '-' in front.  */
       if (sign == -1 && !twos_complement_representation)
        ++nbits;
index 1f55f85e681232f54b50b9501bd5a1a751a71b22..8ac71f14c829c7cb2906d76e189d0e53690676aa 100644 (file)
@@ -409,7 +409,7 @@ handle_exception (int exceptionVector)
                  hex2mem (ptr, (unsigned char *) &registers[regno], 4, 0);
                  /*
                   * Since we just changed a single CPU register, let's
-                  * make sure to keep the several stack pointers consistant.
+                  * make sure to keep the several stack pointers consistent.
                   */
                  stackmode = registers[PSW] & 0x80;
                  if (regno == R15)     /* stack pointer changed */
index ce3ab94c4796b11b26b91145b33bb8c7ac1b52d1..f20fd7c3731cb0798dd679dc60ff8bf4f9cc9c32 100644 (file)
@@ -57,7 +57,7 @@ proc process_saved_regs { current inner outer } {
     # and for dummy frames won't have saved registers.  If there's a
     # problem, fail but capture the output anyway, hopefully later
     # "info frame" requests for that same frame will at least fail in
-    # a consistent manner (stops propogated fails).
+    # a consistent manner (stops propagated fails).
 
     foreach func $inner {
        set saved_regs($func) "error"
index 290a58407bf91509d8fc95e51d927d4692882b2c..2c0be651b1ca33a7fd9aa4947c88291bb8b7ad1b 100644 (file)
@@ -28,7 +28,7 @@ main ()
      pmxvi4ger8*, pmxvi8ger4* pmxvi16ger2* instructions were officially changed
      to pmdmxbf16ger*, pmdmxvf32ger*, pmdmxvf64ger*, pmdmxvi4ger8*,
      pmdmxvi8ger4*, pmdmxvi16ger* respectively.  The old mnemonics are used in
-     this test for backward compatibity.   */
+     this test for backward compatibility.   */
   ra = 0xABCDEF012;
   rb = 0;
   rs = 0x012345678;
index e32ce394339e7ab45a76a67a9ba72b7ffc4155fd..b3fcbc65a4afd5c58bb2599bac564bf9ea9db80f 100644 (file)
@@ -19,7 +19,7 @@
 #define YY_REMAP_H
 
 /* Remap normal yacc parser interface names (yyparse, yylex, yyerror,
-   etc), as well as gratuitiously global symbol names, so we can have
+   etc), as well as gratuitously global symbol names, so we can have
    multiple yacc generated parsers in gdb.  Note that these are only
    the variables produced by yacc.  If other parser generators (bison,
    byacc, etc) produce additional global names that conflict at link