+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
`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
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
}
}
-/* 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,
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);
/* 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;
}
}
-/* 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. */
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;
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. */
+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
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
@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.
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
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}).
/* 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,
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
/* 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
+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.
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;
/* 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
/* 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. */
/* 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
(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;
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);
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 ();
}
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;
}
+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.
# 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*"]
# 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
# 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
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).
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
}
#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. */
}
}
-/* Free and and clear the traceframe info cache of the current
+/* Free and clear the traceframe info cache of the current
traceframe. */
static void
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
}
/* 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
/* 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
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)
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
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 *)
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));