aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-04-19 18:04:11 +0000
committerTom Tromey <tromey@redhat.com>2011-04-19 18:04:11 +0000
commit7a9dd1b270ed6fa1dbf81ef4aea857e7947e9d44 (patch)
treea65c7b6b12ae2cc16dd4638f499ef578001c5aeb /gdb
parent948b3cc42f31d90c598aecc0ca9fa87b398ad562 (diff)
downloadgdb-7a9dd1b270ed6fa1dbf81ef4aea857e7947e9d44.zip
gdb-7a9dd1b270ed6fa1dbf81ef4aea857e7947e9d44.tar.gz
gdb-7a9dd1b270ed6fa1dbf81ef4aea857e7947e9d44.tar.bz2
gdb
* 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".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog28
-rw-r--r--gdb/README2
-rw-r--r--gdb/alpha-tdep.c2
-rw-r--r--gdb/amd64-tdep.c2
-rw-r--r--gdb/amd64-tdep.h2
-rw-r--r--gdb/arm-tdep.c2
-rw-r--r--gdb/breakpoint.c2
-rw-r--r--gdb/cli/cli-decode.c2
-rw-r--r--gdb/defs.h2
-rw-r--r--gdb/doc/ChangeLog8
-rw-r--r--gdb/doc/gdb.texinfo6
-rw-r--r--gdb/doc/gdbint.texinfo2
-rw-r--r--gdb/dummy-frame.c2
-rw-r--r--gdb/exceptions.c2
-rw-r--r--gdb/f-exp.y2
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/win32-low.c2
-rw-r--r--gdb/ia64-linux-tdep.c2
-rw-r--r--gdb/infcmd.c2
-rw-r--r--gdb/infrun.c2
-rw-r--r--gdb/mipsread.c2
-rw-r--r--gdb/serial.h2
-rw-r--r--gdb/solib-frv.c2
-rw-r--r--gdb/symtab.c2
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/bigcore.exp2
-rw-r--r--gdb/testsuite/gdb.base/call-sc.exp2
-rw-r--r--gdb/testsuite/gdb.base/structs.exp2
-rw-r--r--gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi-nsmoribund.exp2
-rw-r--r--gdb/top.c2
-rw-r--r--gdb/tracepoint.c2
-rw-r--r--gdb/ui-out.c2
-rw-r--r--gdb/utils.c4
-rw-r--r--gdb/v850-tdep.c2
-rw-r--r--gdb/windows-nat.c4
-rw-r--r--gdb/windows-tdep.c2
37 files changed, 85 insertions, 37 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7dbfa1d..bdf13e3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/README b/gdb/README
index 0ee9705..d79fecc 100644
--- a/gdb/README
+++ b/gdb/README
@@ -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
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 51eb6e4..10e753b 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -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
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 9b5d5bb..8dc4363 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -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,
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h
index b96a58a..107b7bf 100644
--- a/gdb/amd64-tdep.h
+++ b/gdb/amd64-tdep.h
@@ -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);
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index f33dc10..9153ac4 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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;
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 8ea6cc9..3dbee85 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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. */
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 093fec0..33dc966 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -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;
diff --git a/gdb/defs.h b/gdb/defs.h
index 5379bc1..2849429 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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. */
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5225a6b..552f054 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index c71d664..eefc7d0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index a494707..20791b4 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -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}).
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 709cd68..9fb1c79 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -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,
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 4eb2f9e..ce86f48 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -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
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index d9cf3cf..74937d7 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -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
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index a633155..ff1311d 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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.
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c
index 51bc1d6..422d726 100644
--- a/gdb/gdbserver/win32-low.c
+++ b/gdb/gdbserver/win32-low.c
@@ -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;
diff --git a/gdb/ia64-linux-tdep.c b/gdb/ia64-linux-tdep.c
index ce8053b..96ad3df 100644
--- a/gdb/ia64-linux-tdep.c
+++ b/gdb/ia64-linux-tdep.c
@@ -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
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 3dc13e3..fce1e8f 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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. */
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 7cee7c8..52a1c15 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 74d795d..1cd3299 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -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;
diff --git a/gdb/serial.h b/gdb/serial.h
index a1eba8d..872d22b 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -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);
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 2b2882f..7299cef 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -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 ();
}
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 6ad523e..10bf04e 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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;
}
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index dc66c84..cef18ac 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/bigcore.exp b/gdb/testsuite/gdb.base/bigcore.exp
index 68ab1e6..92b75ea 100644
--- a/gdb/testsuite/gdb.base/bigcore.exp
+++ b/gdb/testsuite/gdb.base/bigcore.exp
@@ -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*"]
diff --git a/gdb/testsuite/gdb.base/call-sc.exp b/gdb/testsuite/gdb.base/call-sc.exp
index c20bd20..cf5d122 100644
--- a/gdb/testsuite/gdb.base/call-sc.exp
+++ b/gdb/testsuite/gdb.base/call-sc.exp
@@ -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
diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp
index c576596..2e433f8 100644
--- a/gdb/testsuite/gdb.base/structs.exp
+++ b/gdb/testsuite/gdb.base/structs.exp
@@ -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
diff --git a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
index b4e33d1..1b491bb 100644
--- a/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
+++ b/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
@@ -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).
diff --git a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp
index e73b876..61b0982 100644
--- a/gdb/testsuite/gdb.mi/mi-nsmoribund.exp
+++ b/gdb/testsuite/gdb.mi/mi-nsmoribund.exp
@@ -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
diff --git a/gdb/top.c b/gdb/top.c
index a25550f..2b14f75 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -294,7 +294,7 @@ quit_cover (void *s)
}
#endif /* defined SIGHUP */
-/* 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. */
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index d5f69e7..119ab22 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index 59aaa24..a2abf57 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -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
diff --git a/gdb/utils.c b/gdb/utils.c
index 51d32b7..11c34bf 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 96e8d22..ac5d83f 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -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)
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 350f8d88..cf1a097 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -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 *)
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index 31ddd14..6e0d17e 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -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));