This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] comment typos containing "the the "
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 25 Feb 2011 18:09:14 -0800
- Subject: [commit] comment typos containing "the the "
32 files in which one or more comment contained the phrase "the the ".
;-)
2011-02-25 Michael Snyder <msnyder@vmware.com>
* arm-tdep.c: Fix typos in comments.
* bsd-uthread.c: Ditto.
* completer.c: Ditto.
* corelow.c: Ditto.
* cp-namespace.c: Ditto.
* cp-support.c: Ditto.
* cris-tdep.c: Ditto.
* dbxread.c: Ditto.
* dwarf2read.c: Ditto.
* frame.h: Ditto.
* gdbtypes.h: Ditto.
* inferior.h: Ditto.
* mdebugread.c: Ditto.
* mips-tdep.c: Ditto.
* ppc-linux-nat.c: Ditto.
* ppc-linux-tdep.c: Ditto.
* printcmd.c: Ditto.
* sol-thread.c: Ditto.
* solib-frv.c: Ditto.
* solist.h: Ditto.
* sparc64-tdep.c: Ditto.
* spu-tdep.c: Ditto.
* stabsread.c: Ditto.
* symfile.c: Ditto.
* valops.c: Ditto.
* varobj.c: Ditto.
* vax-nat.c: Ditto.
* python/py-block.c: Ditto.
* python/py-symbol.c: Ditto.
* python/py-symtab.c: Ditto.
* python/py-value.c: Ditto.
* tui/tui-win.c: Ditto.
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.329
diff -u -p -u -p -r1.329 arm-tdep.c
--- arm-tdep.c 21 Feb 2011 15:03:37 -0000 1.329
+++ arm-tdep.c 26 Feb 2011 01:58:29 -0000
@@ -7155,8 +7155,9 @@ arm_extract_return_value (struct type *t
|| TYPE_CODE (type) == TYPE_CODE_REF
|| TYPE_CODE (type) == TYPE_CODE_ENUM)
{
- /* If the the type is a plain integer, then the access is
- straight-forward. Otherwise we have to play around a bit more. */
+ /* If the type is a plain integer, then the access is
+ straight-forward. Otherwise we have to play around a bit
+ more. */
int len = TYPE_LENGTH (type);
int regno = ARM_A1_REGNUM;
ULONGEST tmp;
Index: bsd-uthread.c
===================================================================
RCS file: /cvs/src/src/gdb/bsd-uthread.c,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 bsd-uthread.c
--- bsd-uthread.c 1 Jan 2011 15:32:58 -0000 1.30
+++ bsd-uthread.c 26 Feb 2011 01:58:29 -0000
@@ -105,7 +105,7 @@ bsd_uthread_check_magic (CORE_ADDR addr)
#define BSD_UTHREAD_PS_RUNNING 0
#define BSD_UTHREAD_PS_DEAD 18
-/* Address of the pointer to the the thread structure for the running
+/* Address of the pointer to the thread structure for the running
thread. */
static CORE_ADDR bsd_uthread_thread_run_addr;
Index: completer.c
===================================================================
RCS file: /cvs/src/src/gdb/completer.c,v
retrieving revision 1.43
diff -u -p -u -p -r1.43 completer.c
--- completer.c 1 Jan 2011 15:32:59 -0000 1.43
+++ completer.c 26 Feb 2011 01:58:29 -0000
@@ -914,10 +914,10 @@ line_completion_function (const char *te
}
/* Skip over the possibly quoted word STR (as defined by the quote
- characters QUOTECHARS and the the word break characters
- BREAKCHARS). Returns pointer to the location after the "word". If
- either QUOTECHARS or BREAKCHARS is NULL, use the same values used
- by the completer. */
+ characters QUOTECHARS and the word break characters BREAKCHARS).
+ Returns pointer to the location after the "word". If either
+ QUOTECHARS or BREAKCHARS is NULL, use the same values used by the
+ completer. */
char *
skip_quoted_chars (char *str, char *quotechars, char *breakchars)
Index: corelow.c
===================================================================
RCS file: /cvs/src/src/gdb/corelow.c,v
retrieving revision 1.108
diff -u -p -u -p -r1.108 corelow.c
--- corelow.c 25 Jan 2011 12:47:24 -0000 1.108
+++ corelow.c 26 Feb 2011 01:58:29 -0000
@@ -107,7 +107,7 @@ static struct target_ops core_ops;
/* Link a new core_fns into the global core_file_fns list. Called on
gdb startup by the _initialize routine in each core file register
- reader, to register information about each format the the reader is
+ reader, to register information about each format the reader is
prepared to handle. */
void
Index: cp-namespace.c
===================================================================
RCS file: /cvs/src/src/gdb/cp-namespace.c,v
retrieving revision 1.48
diff -u -p -u -p -r1.48 cp-namespace.c
--- cp-namespace.c 5 Jan 2011 22:22:47 -0000 1.48
+++ cp-namespace.c 26 Feb 2011 01:58:29 -0000
@@ -719,7 +719,7 @@ cp_lookup_nested_type (struct type *pare
/* FIXME: carlton/2004-01-16: The problem that this is trying to
address is that, unfortunately, sometimes NAME is wrong: it may not
include the name of namespaces enclosing the type in question.
- lookup_transparent_type gets called when the the type in question
+ lookup_transparent_type gets called when the type in question
is a declaration, and we're trying to find its definition; but, for
declarations, our type name deduction mechanism doesn't work.
There's nothing we can do to fix this in general, I think, in the
@@ -752,10 +752,9 @@ cp_lookup_transparent_type (const char *
return cp_lookup_transparent_type_loop (name, scope, 0);
}
-/* Lookup the the type definition associated to NAME in
- namespaces/classes containing SCOPE whose name is strictly longer
- than LENGTH. LENGTH must be the index of the start of a component
- of SCOPE. */
+/* Lookup the type definition associated to NAME in namespaces/classes
+ containing SCOPE whose name is strictly longer than LENGTH. LENGTH
+ must be the index of the start of a component of SCOPE. */
static struct type *
cp_lookup_transparent_type_loop (const char *name,
Index: cp-support.c
===================================================================
RCS file: /cvs/src/src/gdb/cp-support.c,v
retrieving revision 1.48
diff -u -p -u -p -r1.48 cp-support.c
--- cp-support.c 18 Feb 2011 19:10:46 -0000 1.48
+++ cp-support.c 26 Feb 2011 01:58:29 -0000
@@ -837,7 +837,7 @@ make_symbol_overload_list_adl_namespace
}
}
-/* Adds the the overload list overload candidates for FUNC_NAME found
+/* Adds the overload list overload candidates for FUNC_NAME found
through argument dependent lookup. */
struct symbol **
Index: cris-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/cris-tdep.c,v
retrieving revision 1.178
diff -u -p -u -p -r1.178 cris-tdep.c
--- cris-tdep.c 7 Jan 2011 19:36:15 -0000 1.178
+++ cris-tdep.c 26 Feb 2011 01:58:29 -0000
@@ -2567,7 +2567,7 @@ asrq_op (unsigned short inst, inst_env_t
return;
}
/* The shift size is given as a 5 bit quick value, i.e. we don't
- want the the sign bit of the quick value. */
+ want the sign bit of the quick value. */
shift_steps = cris_get_asr_shift_steps (inst);
value = inst_env->reg[REG_PC];
if (value & SIGNED_DWORD_MASK)
@@ -2891,7 +2891,7 @@ none_reg_mode_jump_op (unsigned short in
{
check_assign (inst, inst_env);
- /* Get the new value for the the PC. */
+ /* Get the new value for the PC. */
newpc =
read_memory_unsigned_integer ((CORE_ADDR) inst_env->prefix_value,
4, inst_env->byte_order);
Index: dbxread.c
===================================================================
RCS file: /cvs/src/src/gdb/dbxread.c,v
retrieving revision 1.120
diff -u -p -u -p -r1.120 dbxread.c
--- dbxread.c 7 Jan 2011 19:36:15 -0000 1.120
+++ dbxread.c 26 Feb 2011 01:58:29 -0000
@@ -1312,7 +1312,7 @@ read_dbx_symtab (struct objfile *objfile
*) The assignment to namestring.
*) The call to strchr.
- *) The addition of a partial symbol the the two partial
+ *) The addition of a partial symbol the two partial
symbol lists. This last is a large section of code, so
I've imbedded it in the following macro. */
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.500
diff -u -p -u -p -r1.500 dwarf2read.c
--- dwarf2read.c 16 Feb 2011 21:32:05 -0000 1.500
+++ dwarf2read.c 26 Feb 2011 01:58:29 -0000
@@ -10594,7 +10594,7 @@ dwarf_decode_lines (struct line_header *
address increment value corresponding to special opcode
255. I.e., this value is scaled by the minimum
instruction length since special opcode 255 would have
- scaled the the increment. */
+ scaled the increment. */
case DW_LNS_const_add_pc:
{
CORE_ADDR adjust = (255 - lh->opcode_base) / lh->line_range;
Index: mdebugread.c
===================================================================
RCS file: /cvs/src/src/gdb/mdebugread.c,v
retrieving revision 1.118
diff -u -p -u -p -r1.118 mdebugread.c
--- mdebugread.c 9 Jan 2011 03:20:33 -0000 1.118
+++ mdebugread.c 26 Feb 2011 01:58:29 -0000
@@ -3860,7 +3860,7 @@ parse_partial_symbols (struct objfile *o
}
/* If the current psymbol has an enumerated type, we need to add
- all the the enum constants to the partial symbol table. */
+ all the enum constants to the partial symbol table. */
static void
handle_psymbol_enumerators (struct objfile *objfile, FDR *fh, int stype,
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.517
diff -u -p -u -p -r1.517 mips-tdep.c
--- mips-tdep.c 28 Jan 2011 15:42:01 -0000 1.517
+++ mips-tdep.c 26 Feb 2011 01:58:30 -0000
@@ -3138,8 +3138,8 @@ mips_eabi_push_dummy_call (struct gdbarc
len -= partial_len;
val += partial_len;
- /* Compute the the offset into the stack at which we
- will copy the next parameter.
+ /* Compute the offset into the stack at which we will
+ copy the next parameter.
In the new EABI (and the NABI32), the stack_offset
only needs to be adjusted when it has been used. */
@@ -3530,8 +3530,8 @@ mips_n32n64_push_dummy_call (struct gdba
len -= partial_len;
val += partial_len;
- /* Compute the the offset into the stack at which we
- will copy the next parameter.
+ /* Compute the offset into the stack at which we will
+ copy the next parameter.
In N32 (N64?), the stack_offset only needs to be
adjusted when it has been used. */
@@ -4010,8 +4010,8 @@ mips_o32_push_dummy_call (struct gdbarch
len -= partial_len;
val += partial_len;
- /* Compute the the offset into the stack at which we
- will copy the next parameter.
+ /* Compute the offset into the stack at which we will
+ copy the next parameter.
In older ABIs, the caller reserved space for
registers that contained arguments. This was loosely
@@ -4418,8 +4418,8 @@ mips_o64_push_dummy_call (struct gdbarch
len -= partial_len;
val += partial_len;
- /* Compute the the offset into the stack at which we
- will copy the next parameter.
+ /* Compute the offset into the stack at which we will
+ copy the next parameter.
In older ABIs, the caller reserved space for
registers that contained arguments. This was loosely
@@ -5312,7 +5312,7 @@ mips_breakpoint_from_pc (struct gdbarch
and the target PC is in $2.
* If the PC at the start of __mips16_call_stub_{s,d}f_{0..10}, i.e.
before the jal instruction, this is effectively a call stub
- and the the target PC is in $2. Otherwise this is effectively
+ and the target PC is in $2. Otherwise this is effectively
a return stub and the target PC is in $18.
See the source code for the stubs in gcc/config/mips/mips16.S for
@@ -5344,7 +5344,7 @@ mips_skip_mips16_trampoline_code (struct
/* If the PC at the start of __mips16_call_stub_{s,d}f_{0..10}, i.e.
before the jal instruction, this is effectively a call stub
- and the the target PC is in $2. Otherwise this is effectively
+ and the target PC is in $2. Otherwise this is effectively
a return stub and the target PC is in $18. */
else if (name[19] == 's' || name[19] == 'd')
{
Index: ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.100
diff -u -p -u -p -r1.100 ppc-linux-nat.c
--- ppc-linux-nat.c 12 Jan 2011 20:09:53 -0000 1.100
+++ ppc-linux-nat.c 26 Feb 2011 01:58:30 -0000
@@ -264,7 +264,7 @@ typedef char gdb_vrregset_t[SIZEOF_VRREG
typedef char gdb_vsxregset_t[SIZEOF_VSXREGS];
-/* On PPC processors that support the the Signal Processing Extension
+/* On PPC processors that support the Signal Processing Extension
(SPE) APU, the general-purpose registers are 64 bits long.
However, the ordinary Linux kernel PTRACE_PEEKUSER / PTRACE_POKEUSER
ptrace calls only access the lower half of each register, to allow
@@ -275,7 +275,7 @@ typedef char gdb_vsxregset_t[SIZEOF_VSXR
GDB itself continues to claim the general-purpose registers are 32
bits long. It has unnamed raw registers that hold the upper halves
- of the gprs, and the the full 64-bit SIMD views of the registers,
+ of the gprs, and the full 64-bit SIMD views of the registers,
'ev0' -- 'ev31', are pseudo-registers that splice the top and
bottom halves together.
Index: ppc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
retrieving revision 1.125
diff -u -p -u -p -r1.125 ppc-linux-tdep.c
--- ppc-linux-tdep.c 10 Jan 2011 20:38:50 -0000 1.125
+++ ppc-linux-tdep.c 26 Feb 2011 01:58:30 -0000
@@ -1509,7 +1509,7 @@ ppc_linux_init_abi (struct gdbarch_info
/* Until November 2001, gcc did not comply with the 32 bit SysV
R4 ABI requirement that structures less than or equal to 8
bytes should be returned in registers. Instead GCC was using
- the the AIX/PowerOpen ABI - everything returned in memory
+ the AIX/PowerOpen ABI - everything returned in memory
(well ignoring vectors that is). When this was corrected, it
wasn't fixed for GNU/Linux native platform. Use the
PowerOpen struct convention. */
Index: printcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/printcmd.c,v
retrieving revision 1.191
diff -u -p -u -p -r1.191 printcmd.c
--- printcmd.c 24 Feb 2011 07:39:48 -0000 1.191
+++ printcmd.c 26 Feb 2011 01:58:30 -0000
@@ -333,8 +333,8 @@ print_formatted (struct value *val, int
|| TYPE_CODE (type) == TYPE_CODE_NAMESPACE)
value_print (val, stream, options);
else
- /* User specified format, so don't look to the the type to
- tell us what to do. */
+ /* User specified format, so don't look to the type to tell us
+ what to do. */
val_print_scalar_formatted (type,
value_contents_for_printing (val),
value_embedded_offset (val),
Index: sol-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/sol-thread.c,v
retrieving revision 1.81
diff -u -p -u -p -r1.81 sol-thread.c
--- sol-thread.c 11 Jan 2011 21:53:24 -0000 1.81
+++ sol-thread.c 26 Feb 2011 01:58:30 -0000
@@ -204,7 +204,7 @@ td_err_string (td_err_e errcode)
return buf;
}
-/* Return the the libthread_db state string assicoated with STATECODE.
+/* Return the libthread_db state string assicoated with STATECODE.
If STATECODE is unknown, return an appropriate message. */
static char *
Index: solib-frv.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-frv.c,v
retrieving revision 1.38
diff -u -p -u -p -r1.38 solib-frv.c
--- solib-frv.c 11 Jan 2011 21:53:24 -0000 1.38
+++ solib-frv.c 26 Feb 2011 01:58:30 -0000
@@ -461,7 +461,7 @@ frv_current_sos (void)
/* Locate the address of the first link map struct. */
lm_addr = lm_base ();
- /* We have at least one link map entry. Fetch the the lot of them,
+ /* We have at least one link map entry. Fetch the lot of them,
building the solist chain. */
while (lm_addr)
{
Index: sparc64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-tdep.c,v
retrieving revision 1.50
diff -u -p -u -p -r1.50 sparc64-tdep.c
--- sparc64-tdep.c 11 Jan 2011 21:53:24 -0000 1.50
+++ sparc64-tdep.c 26 Feb 2011 01:58:30 -0000
@@ -40,7 +40,7 @@
#include "sparc64-tdep.h"
-/* This file implements the The SPARC 64-bit ABI as defined by the
+/* This file implements the SPARC 64-bit ABI as defined by the
section "Low-Level System Information" of the SPARC Compliance
Definition (SCD) 2.4.1, which is the 64-bit System V psABI for
SPARC. */
Index: spu-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/spu-tdep.c,v
retrieving revision 1.68
diff -u -p -u -p -r1.68 spu-tdep.c
--- spu-tdep.c 8 Feb 2011 13:30:08 -0000 1.68
+++ spu-tdep.c 26 Feb 2011 01:58:30 -0000
@@ -355,7 +355,7 @@ spu_gdbarch_id (struct gdbarch *gdbarch)
int id = tdep->id;
/* The objfile architecture of a standalone SPU executable does not
- provide an SPU ID. Retrieve it from the the objfile's relocated
+ provide an SPU ID. Retrieve it from the objfile's relocated
address range in this special case. */
if (id == -1
&& symfile_objfile && symfile_objfile->obfd
Index: stabsread.c
===================================================================
RCS file: /cvs/src/src/gdb/stabsread.c,v
retrieving revision 1.134
diff -u -p -u -p -r1.134 stabsread.c
--- stabsread.c 11 Jan 2011 21:53:24 -0000 1.134
+++ stabsread.c 26 Feb 2011 01:58:30 -0000
@@ -3477,7 +3477,7 @@ set_length_in_type_chain (struct type *t
describing the type.
PP points to a character pointer that points to the next unconsumed token
- in the the stabs string. For example, given stabs "A:T4=s4a:1,0,32;;",
+ in the stabs string. For example, given stabs "A:T4=s4a:1,0,32;;",
*PP will point to "4a:1,0,32;;".
TYPE points to an incomplete type that needs to be filled in.
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.306
diff -u -p -u -p -r1.306 symfile.c
--- symfile.c 22 Feb 2011 15:58:37 -0000 1.306
+++ symfile.c 26 Feb 2011 01:58:30 -0000
@@ -1697,8 +1697,7 @@ get_section_index (struct objfile *objfi
/* Link SF into the global symtab_fns list. Called on startup by the
_initialize routine in each object file format reader, to register
- information about each format the the reader is prepared to
- handle. */
+ information about each format the reader is prepared to handle. */
void
add_symtab_fns (const struct sym_fns *sf)
Index: valops.c
===================================================================
RCS file: /cvs/src/src/gdb/valops.c,v
retrieving revision 1.272
diff -u -p -u -p -r1.272 valops.c
--- valops.c 14 Feb 2011 11:35:45 -0000 1.272
+++ valops.c 26 Feb 2011 01:58:30 -0000
@@ -2616,9 +2616,9 @@ find_overload_match (struct type **arg_t
{
const char *qualified_name = NULL;
- /* If the the overload match is being search for both
- as a method and non member function, the first argument
- must now be dereferenced. */
+ /* If the overload match is being search for both as a method
+ and non member function, the first argument must now be
+ dereferenced. */
if (method == BOTH)
arg_types[0] = TYPE_TARGET_TYPE (arg_types[0]);
@@ -2693,9 +2693,9 @@ find_overload_match (struct type **arg_t
switch (compare_badness (func_badness, method_badness))
{
case 0: /* Top two contenders are equally good. */
- /* FIXME: GDB does not support the general ambiguous
- case. All candidates should be collected and presented
- the the user. */
+ /* FIXME: GDB does not support the general ambiguous case.
+ All candidates should be collected and presented the
+ user. */
error (_("Ambiguous overload resolution"));
break;
case 1: /* Incomparable top contenders. */
@@ -3177,7 +3177,7 @@ value_aggregate_elt (struct type *curtyp
}
/* Compares the two method/function types T1 and T2 for "equality"
- with respect to the the methods' parameters. If the types of the
+ with respect to the methods' parameters. If the types of the
two parameter lists are the same, returns 1; 0 otherwise. This
comparison may ignore any artificial parameters in T1 if
SKIP_ARTIFICIAL is non-zero. This function will ALWAYS skip
Index: varobj.c
===================================================================
RCS file: /cvs/src/src/gdb/varobj.c,v
retrieving revision 1.170
diff -u -p -u -p -r1.170 varobj.c
--- varobj.c 12 Jan 2011 01:23:29 -0000 1.170
+++ varobj.c 26 Feb 2011 01:58:30 -0000
@@ -1303,7 +1303,7 @@ varobj_set_value (struct varobj *var, ch
after assignment, and the first thing value_assign
does is coerce the input.
For example, if we are assigning an array to a pointer variable we
- should compare the pointer with the the array's address, not with the
+ should compare the pointer with the array's address, not with the
array's content. */
value = coerce_array (value);
Index: vax-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-nat.c,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 vax-nat.c
--- vax-nat.c 1 Jan 2011 15:33:19 -0000 1.12
+++ vax-nat.c 26 Feb 2011 01:58:30 -0000
@@ -45,7 +45,7 @@
#include "vax-tdep.h"
#include "inf-ptrace.h"
-/* Address of the user structure. This is the the value for 32V; 3BSD
+/* Address of the user structure. This is the value for 32V; 3BSD
uses a different value, but hey, who's still using those systems? */
static CORE_ADDR vax_kernel_u_addr = 0x80020000;