gdb
authorTom Tromey <tromey@redhat.com>
Tue, 19 Apr 2011 18:04:11 +0000 (18:04 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 19 Apr 2011 18:04:11 +0000 (18:04 +0000)
* windows-tdep.c (windows_xfer_shared_library):
* windows-nat.c (get_module_name, windows_make_so):
* v850-tdep.c (v850_handle_pushm):
* utils.c (null_cleanup, gdb_realpath):
* ui-out.c (get_next_header):
* tracepoint.c (clear_traceframe_info):
* symtab.c (lookup_symtab):
* serial.h (struct serial_ops):
* mipsread.c (read_alphacoff_dynamic_symtab):
* infcmd.c (print_return_value):
* ia64-linux-tdep.c (ia64_linux_sigcontext_register_address):
* f-exp.y (parse_number):
* exceptions.c (catch_exceptions):
* dummy-frame.c (dummy_frame_this_id):
* defs.h (struct cleanup):
* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
* arm-tdep.c (arm_push_dummy_call):
* amd64-tdep.h (amd64_collect_xsave):
* amd64-tdep.c (amd64_collect_xsave):
* alpha-tdep.c (alpha_heuristic_frame_unwind_cache):
* README (typing): Remove duplicate words.
* cli/cli-decode.c (lookup_cmd_composition): Add comma.
* infrun.c (siginfo_value_read): Fix typo.
* solib-frv.c (frv_fdpic_find_global_pointer): Likewise.
* top.c (source_line_number): Add comma.
gdb/doc
* gdbint.texinfo (Register Information Functions): Remove
duplicate "the".
* gdb.texinfo (Emacs): Remove duplicate "to".
(GDB/MI Variable Objects): Remove duplicate "the".
(General Query Packets): Likewise.
gdb/testsuite
* gdb.mi/mi-nsmoribund.exp:
* gdb.hp/gdb.objdbg/objdbg01.exp:
* gdb.base/structs.exp (test_struct_returns):
* gdb.base/call-sc.exp (test_scalar_returns):
* gdb.base/bigcore.exp: Remove duplicate words.
gdb/gdbserver
* win32-low.c (handle_load_dll): Remove duplicate "the".

37 files changed:
gdb/ChangeLog
gdb/README
gdb/alpha-tdep.c
gdb/amd64-tdep.c
gdb/amd64-tdep.h
gdb/arm-tdep.c
gdb/breakpoint.c
gdb/cli/cli-decode.c
gdb/defs.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/gdbint.texinfo
gdb/dummy-frame.c
gdb/exceptions.c
gdb/f-exp.y
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c
gdb/ia64-linux-tdep.c
gdb/infcmd.c
gdb/infrun.c
gdb/mipsread.c
gdb/serial.h
gdb/solib-frv.c
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/bigcore.exp
gdb/testsuite/gdb.base/call-sc.exp
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
gdb/testsuite/gdb.mi/mi-nsmoribund.exp
gdb/top.c
gdb/tracepoint.c
gdb/ui-out.c
gdb/utils.c
gdb/v850-tdep.c
gdb/windows-nat.c
gdb/windows-tdep.c

index 7dbfa1d..bdf13e3 100644 (file)
@@ -1,3 +1,31 @@
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * windows-tdep.c (windows_xfer_shared_library):
+       * windows-nat.c (get_module_name, windows_make_so):
+       * v850-tdep.c (v850_handle_pushm):
+       * utils.c (null_cleanup, gdb_realpath):
+       * ui-out.c (get_next_header):
+       * tracepoint.c (clear_traceframe_info):
+       * symtab.c (lookup_symtab):
+       * serial.h (struct serial_ops):
+       * mipsread.c (read_alphacoff_dynamic_symtab):
+       * infcmd.c (print_return_value):
+       * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address):
+       * f-exp.y (parse_number):
+       * exceptions.c (catch_exceptions):
+       * dummy-frame.c (dummy_frame_this_id):
+       * defs.h (struct cleanup):
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
+       * arm-tdep.c (arm_push_dummy_call):
+       * amd64-tdep.h (amd64_collect_xsave):
+       * amd64-tdep.c (amd64_collect_xsave):
+       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache):
+       * README (typing): Remove duplicate words.
+       * cli/cli-decode.c (lookup_cmd_composition): Add comma.
+       * infrun.c (siginfo_value_read): Fix typo.
+       * solib-frv.c (frv_fdpic_find_global_pointer): Likewise.
+       * top.c (source_line_number): Add comma.
+
 2011-04-19  Marc Khouzam  <marc.khouzam@ericsson.com>
 
        * thread.c (any_live_thread_of_process): Prioritize threads
index 0ee9705..d79fecc 100644 (file)
@@ -144,7 +144,7 @@ format.  On its own, TeX cannot read, much less typeset a Texinfo file.
 `gdb-VERSION/texinfo' directory.
 
    If you have TeX and a DVI printer program installed, you can typeset
-and print this manual.  First switch to the the `gdb' subdirectory of
+and print this manual.  First switch to the `gdb' subdirectory of
 the main source directory (for example, to `gdb-VERSION/gdb') and then type:
 
       make doc/gdb.dvi
index 51eb6e4..10e753b 100644 (file)
@@ -1244,7 +1244,7 @@ alpha_heuristic_frame_unwind_cache (struct frame_info *this_frame,
                 So we recognize only a few registers (t7, t9, ra) within
                 the procedure prologue as valid return address registers.
                 If we encounter a return instruction, we extract the
-                the return address register from it.
+                return address register from it.
 
                 FIXME: Rewriting GDB to access the procedure descriptors,
                 e.g. via the minimal symbol table, might obviate this
index 9b5d5bb..8dc4363 100644 (file)
@@ -2662,7 +2662,7 @@ amd64_collect_fxsave (const struct regcache *regcache, int regnum,
     }
 }
 
-/* Similar to amd64_collect_fxsave, but but use XSAVE extended state.  */
+/* Similar to amd64_collect_fxsave, but use XSAVE extended state.  */
 
 void
 amd64_collect_xsave (const struct regcache *regcache, int regnum,
index b96a58a..107b7bf 100644 (file)
@@ -101,7 +101,7 @@ extern void amd64_supply_xsave (struct regcache *regcache, int regnum,
 extern void amd64_collect_fxsave (const struct regcache *regcache, int regnum,
                                  void *fxsave);
 
-/* Similar to amd64_collect_fxsave, but but use XSAVE extended state.  */
+/* Similar to amd64_collect_fxsave, but use XSAVE extended state.  */
 extern void amd64_collect_xsave (const struct regcache *regcache,
                                 int regnum, void *xsave, int gcore);
 
index f33dc10..9153ac4 100644 (file)
@@ -3558,7 +3558,7 @@ arm_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
 
   /* Walk through the list of args and determine how large a temporary
      stack is required.  Need to take care here as structs may be
-     passed on the stack, and we have to to push them.  */
+     passed on the stack, and we have to push them.  */
   nstack = 0;
 
   argreg = ARM_A1_REGNUM;
index 8ea6cc9..3dbee85 100644 (file)
@@ -6154,7 +6154,7 @@ disable_breakpoints_in_shlibs (void)
   }
 }
 
-/* Disable any breakpoints that are in in an unloaded shared library.
+/* Disable any breakpoints that are in an unloaded shared library.
    Only apply to enabled breakpoints, disabled ones can just stay
    disabled.  */
 
index 093fec0..33dc966 100644 (file)
@@ -1528,7 +1528,7 @@ lookup_cmd_composition (char *text,
   
   while (1)
     { 
-      /* Go through as many command lists as we need to 
+      /* Go through as many command lists as we need to,
         to find the command TEXT refers to.  */
       
       prev_cmd = *cmd;
index 5379bc1..2849429 100644 (file)
@@ -258,7 +258,7 @@ enum return_value_convention
    point in the chain.  Use discard_cleanups to remove cleanups
    from the chain back to a given point, not doing them.
 
-   If the argument is pointer to allocated memory, then you need to
+   If the argument is pointer to allocated memory, then you need
    to additionally set the 'free_arg' member to a function that will
    free that memory.  This function will be called both when the cleanup
    is executed and when it's discarded.  */
index 5225a6b..552f054 100644 (file)
@@ -1,3 +1,11 @@
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * gdbint.texinfo (Register Information Functions): Remove
+       duplicate "the".
+       * gdb.texinfo (Emacs): Remove duplicate "to".
+       (GDB/MI Variable Objects): Remove duplicate "the".
+       (General Query Packets): Likewise.
+
 2011-04-02  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.texinfo (GDB/MI Output Records): Fix menu entry for
index c71d664..eefc7d0 100644 (file)
@@ -24277,7 +24277,7 @@ that can control the execution and describe the state of your program.
 If you specify an absolute file name when prompted for the @kbd{M-x
 gdb} argument, then Emacs sets your current working directory to where
 your program resides.  If you only specify the file name, then Emacs
-sets your current working directory to to the directory associated
+sets your current working directory to the directory associated
 with the previous buffer.  In this case, @value{GDBN} may find your
 program by searching your environment's @code{PATH} variable, but on
 some operating systems it might not find the source.  So, although the
@@ -27276,7 +27276,7 @@ void do_work(...)
 @end smallexample
 
 If a fixed variable object for the @code{state} variable is created in
-this function, and we enter the recursive call, the the variable
+this function, and we enter the recursive call, the variable
 object will report the value of @code{state} in the top-level
 @code{do_work} invocation.  On the other hand, a floating variable
 object will report the value of @code{state} in the current frame.
@@ -33073,7 +33073,7 @@ thread local variable.  (This offset is obtained from the debug
 information associated with the variable.)
 
 @var{lm} is the (big endian, hex encoded) OS/ABI-specific encoding of the
-the load module associated with the thread local storage.  For example,
+load module associated with the thread local storage.  For example,
 a @sc{gnu}/Linux system will pass the link map address of the shared
 object associated with the thread local storage under consideration. 
 Other operating environments may choose to represent the load module
index a494707..20791b4 100644 (file)
@@ -3607,7 +3607,7 @@ register should be printed.  Define a custom version of this function
 for fuller control over how the registers are displayed.
 
 The access should be for the specified architecture, @var{gdbarch},
-with output to the the file specified by the User Interface
+with output to the file specified by the User Interface
 Independent Output file handle, @var{file} (@pxref{UI-Independent
 Output, , UI-Independent Output---the @code{ui_out}
 Functions}).
index 709cd68..9fb1c79 100644 (file)
@@ -261,7 +261,7 @@ dummy_frame_prev_register (struct frame_info *this_frame,
 /* Assuming that THIS_FRAME is a dummy, return its ID.  That ID is
    determined by examining the NEXT frame's unwound registers using
    the method dummy_id().  As a side effect, THIS dummy frame's
-   dummy cache is located and and saved in THIS_PROLOGUE_CACHE.  */
+   dummy cache is located and saved in THIS_PROLOGUE_CACHE.  */
 
 static void
 dummy_frame_this_id (struct frame_info *this_frame,
index 4eb2f9e..ce86f48 100644 (file)
@@ -442,7 +442,7 @@ throw_error (enum errors error, const char *fmt, ...)
    be replaced by judicious use of QUIT.  */
 
 /* MAYBE: cagney/1999-11-05: catch_errors() in conjunction with
-   error() et al. could maintain a set of flags that indicate the the
+   error() et al. could maintain a set of flags that indicate the
    current state of each of the longjmp buffers.  This would give the
    longjmp code the chance to detect a longjmp botch (before it gets
    to longjmperror()).  Prior to 1999-11-05 this wasn't possible as
index d9cf3cf..74937d7 100644 (file)
@@ -765,7 +765,7 @@ parse_number (p, len, parsed_float, putithere)
   
   /* If the number is too big to be an int, or it's got an l suffix
      then it's a long.  Work out if this has to be a long by
-     shifting right and and seeing if anything remains, and the
+     shifting right and seeing if anything remains, and the
      target int size is different to the target long size.
      
      In the expression below, we could have tested
index a633155..ff1311d 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * win32-low.c (handle_load_dll): Remove duplicate "the".
+
 2011-04-07  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        Remove support for old Cygwin 1.5 versions.
index 51bc1d6..422d726 100644 (file)
@@ -1204,7 +1204,7 @@ handle_load_dll (void)
     return;
 
   /* The symbols in a dll are offset by 0x1000, which is the
-     the offset from 0 of the first byte in an image - because
+     offset from 0 of the first byte in an image - because
      of the file header and the section alignment. */
 
   load_addr = (CORE_ADDR) (uintptr_t) event->lpBaseOfDll + 0x1000;
index ce8053b..96ad3df 100644 (file)
@@ -47,7 +47,7 @@ ia64_linux_pc_in_sigtramp (CORE_ADDR pc)
 
 /* IA-64 GNU/Linux specific function which, given a frame address and
    a register number, returns the address at which that register may be
-   found.  0 is returned for registers which aren't stored in the the
+   found.  0 is returned for registers which aren't stored in the
    sigcontext structure.  */
 
 static CORE_ADDR
index 3dc13e3..fce1e8f 100644 (file)
@@ -1394,7 +1394,7 @@ print_return_value (struct type *func_type, struct type *value_type)
   /* FIXME: 2003-09-27: When returning from a nested inferior function
      call, it's possible (with no help from the architecture vector)
      to locate and return/print a "struct return" value.  This is just
-     a more complicated case of what is already being done in in the
+     a more complicated case of what is already being done in the
      inferior function call code.  In fact, when inferior function
      calls are made async, this will likely be made the norm.  */
 
index 7cee7c8..52a1c15 100644 (file)
@@ -6196,7 +6196,7 @@ signals_info (char *signum_exp, int from_tty)
 
 /* The $_siginfo convenience variable is a bit special.  We don't know
    for sure the type of the value until we actually have a chance to
-   fetch the data.  The type can change depending on gdbarch, so it it
+   fetch the data.  The type can change depending on gdbarch, so it is
    also dependent on which thread you have selected.
 
      1. making $_siginfo be an internalvar that creates a new value on
index 74d795d..1cd3299 100644 (file)
@@ -240,7 +240,7 @@ read_alphacoff_dynamic_symtab (struct section_offsets *section_offsets,
                                 (file_ptr) 0, got_secsize))
     return;
 
-  /* Find the number of local GOT entries and the index for the the
+  /* Find the number of local GOT entries and the index for the
      first dynamic symbol in the GOT.  */
   for (dyninfo_p = dyninfo_secptr, dyninfo_end = dyninfo_p + dyninfo_secsize;
        dyninfo_p < dyninfo_end;
index a1eba8d..872d22b 100644 (file)
@@ -278,7 +278,7 @@ struct serial_ops
     int (*write_prim)(struct serial *scb, const void *buf, size_t count);
     /* Return that number of bytes that can be read from FD
        without blocking.  Return value of -1 means that the
-       the read will not block even if less that requested bytes
+       read will not block even if less that requested bytes
        are available.  */
     int (*avail)(struct serial *scb, int fd);
 
index 2b2882f..7299cef 100644 (file)
@@ -1108,7 +1108,7 @@ frv_fdpic_find_global_pointer (CORE_ADDR addr)
       so = so->next;
     }
 
-  /* Didn't find it it any of the shared objects.  So assume it's in the
+  /* Didn't find it in any of the shared objects.  So assume it's in the
      main executable.  */
   return main_got ();
 }
index 6ad523e..10bf04e 100644 (file)
@@ -245,7 +245,7 @@ got_symtab:
      PSYMTAB_TO_SYMTAB doesn't return a symtab, even though one has
      been created.  So, we need to run through the symtabs again in
      order to find the file.
-     XXX - This is a crock, and should be fixed inside of the the
+     XXX - This is a crock, and should be fixed inside of the
      symbol parsing routines.  */
   goto got_symtab;
 }
index dc66c84..cef18ac 100644 (file)
@@ -1,3 +1,11 @@
+2011-04-19  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.mi/mi-nsmoribund.exp:
+       * gdb.hp/gdb.objdbg/objdbg01.exp:
+       * gdb.base/structs.exp (test_struct_returns):
+       * gdb.base/call-sc.exp (test_scalar_returns):
+       * gdb.base/bigcore.exp: Remove duplicate words.
+
 2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.base/break-interp-lib.c (v, vptr): New variables.
index 68ab1e6..92b75ea 100644 (file)
@@ -32,7 +32,7 @@ if ![isnative] then {
 
 # Can the system run this test (in particular support sparse
 # corefiles)?  On systems that lack sparse corefile support this test
-# consumes too many resources - gigabytes worth of disk space and and
+# consumes too many resources - gigabytes worth of disk space and
 # I/O bandwith.
 
 if { [istarget "*-*-*bsd*"]
index c20bd20..cf5d122 100644 (file)
@@ -189,7 +189,7 @@ proc test_scalar_returns { } {
 
     # The relevant code looks like "L{n} = fun{n}()".  The test forces
     # "fun{n}" to "return" with an explicit value.  Since that code
-    # snippet will store the the returned value in "L{n}" the return
+    # snippet will store the returned value in "L{n}" the return
     # is tested by examining "L{n}".  This assumes that the
     # compiler implemented this as fun{n}(&L{n}) and hence that when
     # the value isn't stored "L{n}" remains unchanged.  Also check for
index c576596..2e433f8 100644 (file)
@@ -300,7 +300,7 @@ proc test_struct_returns { n } {
 
     # The relevant code looks like "L{n} = fun{n}()".  The test forces
     # "fun{n}" to "return" with an explicit value.  Since that code
-    # snippet will store the the returned value in "L{n}" the return
+    # snippet will store the returned value in "L{n}" the return
     # is tested by examining "L{n}".  This assumes that the
     # compiler implemented this as fun{n}(&L{n}) and hence that when
     # the value isn't stored "L{n}" remains unchanged.  Also check for
index b4e33d1..1b491bb 100644 (file)
@@ -62,7 +62,7 @@ if {[gdb_compile "${objdbgdir}/x3.o ${objdbgdir}/x2.o ${objdbgdir}/x1.o" "${binf
 for {set filenum 0} {$filenum < 2} {incr filenum 1} {
 
     # Lets test some commons
-    # Need to restart each to to make sure objects are not loaded
+    # Need to restart each to make sure objects are not loaded
     # Also cross check the address with what is actually in the
     #   object file (call the executable ${symaddrfile} to retrieve the
     #   information).
index e73b876..61b0982 100644 (file)
@@ -55,7 +55,7 @@ if { [mi_run_to_main] < 0 } {
     continue
 }
 
-# Keep this in sync with THREADS in the the $srcfile.
+# Keep this in sync with THREADS in the $srcfile.
 set nthreads 10
 
 # Set a breakpoint and let all threads hit it (except the main
index a25550f..2b14f75 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -294,7 +294,7 @@ quit_cover (void *s)
 }
 #endif /* defined SIGHUP */
 \f
-/* Line number we are currently in in a file which is being sourced.  */
+/* Line number we are currently in, in a file which is being sourced.  */
 /* NOTE 1999-04-29: This variable will be static again, once we modify
    gdb to use the event loop as the default command loop and we merge
    event-top.c into this file, top.c.  */
index d5f69e7..119ab22 100644 (file)
@@ -234,7 +234,7 @@ free_traceframe_info (struct traceframe_info *info)
     }
 }
 
-/* Free and and clear the traceframe info cache of the current
+/* Free and clear the traceframe info cache of the current
    traceframe.  */
 
 static void
index 59aaa24..a2abf57 100644 (file)
@@ -1048,7 +1048,7 @@ append_header_to_list (struct ui_out *uiout,
   uiout->table.header_next = uiout->table.header_last;
 }
 
-/* Extract the format information for the NEXT header and and advance
+/* Extract the format information for the NEXT header and advance
    the header pointer.  Return 0 if there was no next header.  */
 
 static int
index 51d32b7..11c34bf 100644 (file)
@@ -581,7 +581,7 @@ free_current_contents (void *ptr)
 }
 
 /* Provide a known function that does nothing, to use as a base for
-   for a possibly long chain of cleanups.  This is useful where we
+   a possibly long chain of cleanups.  This is useful where we
    use the cleanup chain for handling normal cleanups as well as dealing
    with cleanups that need to be done as a result of a call to error().
    In such cases, we may not be certain where the first cleanup is, unless
@@ -3605,7 +3605,7 @@ gdb_realpath (const char *filename)
   /* FIXME: cagney/2002-11-13:
 
      Method 2a: Use realpath() with a NULL buffer.  Some systems, due
-     to the problems described in in method 3, have modified their
+     to the problems described in method 3, have modified their
      realpath() implementation so that it will allocate a buffer when
      NULL is passed in.  Before this can be used, though, some sort of
      configure time test would need to be added.  Otherwize the code
index 96e8d22..ac5d83f 100644 (file)
@@ -401,7 +401,7 @@ v850_handle_pushm (int insn, int insn2, struct v850_frame_cache *pi,
   else
     reg_table = pushmh_reg_table;
 
-  /* Calculate the total size of the saved registers, and add it it to the
+  /* Calculate the total size of the saved registers, and add it to the
      immediate value used to adjust SP.  */
   for (i = 0; reg_table[i].mask != 0; i++)
     if (list12 & reg_table[i].mask)
index 350f8d8..cf1a097 100644 (file)
@@ -500,7 +500,7 @@ windows_store_inferior_registers (struct target_ops *ops,
     do_windows_store_inferior_registers (regcache, r);
 }
 
-/* Get the name of a given module at at given base address.  If base_address
+/* Get the name of a given module at given base address.  If base_address
    is zero return the first loaded module (which is always the name of the
    executable).  */
 static int
@@ -743,7 +743,7 @@ windows_make_so (const char *name, LPVOID load_addr)
          return so;
        }
 
-      /* The symbols in a dll are offset by 0x1000, which is the the
+      /* The symbols in a dll are offset by 0x1000, which is the
         offset from 0 of the first byte in an image - because of the
         file header and the section alignment.  */
       cygwin_load_start = (CORE_ADDR) (uintptr_t) ((char *)
index 31ddd14..6e0d17e 100644 (file)
@@ -391,7 +391,7 @@ windows_xfer_shared_library (const char* so_name, CORE_ADDR load_addr,
   obstack_grow_str (obstack, p);
   xfree (p);
   obstack_grow_str (obstack, "\"><segment address=\"");
-  /* The symbols in a dll are offset by 0x1000, which is the the
+  /* The symbols in a dll are offset by 0x1000, which is the
      offset from 0 of the first byte in an image - because of the file
      header and the section alignment.  */
   obstack_grow_str (obstack, paddress (gdbarch, load_addr + 0x1000));