* 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".
This commit is contained in:
Tom Tromey 2011-04-19 18:04:11 +00:00
parent 948b3cc42f
commit 7a9dd1b270
37 changed files with 85 additions and 37 deletions

View 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

View 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

View 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

View 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,

View 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);

View 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;

View 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. */

View 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;

View 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. */

View 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

View 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

View 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}).

View 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,

View 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

View 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

View 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.

View 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;

View 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

View 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. */

View 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

View 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;

View 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);

View 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 ();
}

View 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;
}

View 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.

View 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*"]

View 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

View 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

View 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).

View 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

View File

@ -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. */

View 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

View 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

View 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

View 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)

View 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 *)

View 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));