diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-26 02:07:10 +0000 |
commit | b021a2216627b2a56696125ff8a28985aae605e3 (patch) | |
tree | b92fc609e8c9fd438b095e35eaf94416ddb85cb8 | |
parent | 80549d04a2090e1c1a6a693485f577f9e45dcacc (diff) | |
download | gdb-b021a2216627b2a56696125ff8a28985aae605e3.zip gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.gz gdb-b021a2216627b2a56696125ff8a28985aae605e3.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 35 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 5 | ||||
-rw-r--r-- | gdb/bsd-uthread.c | 2 | ||||
-rw-r--r-- | gdb/completer.c | 8 | ||||
-rw-r--r-- | gdb/corelow.c | 2 | ||||
-rw-r--r-- | gdb/cp-namespace.c | 9 | ||||
-rw-r--r-- | gdb/cp-support.c | 2 | ||||
-rw-r--r-- | gdb/cris-tdep.c | 4 | ||||
-rw-r--r-- | gdb/dbxread.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 2 | ||||
-rw-r--r-- | gdb/frame.h | 2 | ||||
-rw-r--r-- | gdb/gdbtypes.h | 2 | ||||
-rw-r--r-- | gdb/inferior.h | 2 | ||||
-rw-r--r-- | gdb/mdebugread.c | 2 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 20 | ||||
-rw-r--r-- | gdb/ppc-linux-nat.c | 4 | ||||
-rw-r--r-- | gdb/ppc-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/printcmd.c | 4 | ||||
-rw-r--r-- | gdb/python/py-block.c | 2 | ||||
-rw-r--r-- | gdb/python/py-symbol.c | 2 | ||||
-rw-r--r-- | gdb/python/py-symtab.c | 14 | ||||
-rw-r--r-- | gdb/python/py-value.c | 2 | ||||
-rw-r--r-- | gdb/sol-thread.c | 2 | ||||
-rw-r--r-- | gdb/solib-frv.c | 2 | ||||
-rw-r--r-- | gdb/solist.h | 4 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 2 | ||||
-rw-r--r-- | gdb/spu-tdep.c | 2 | ||||
-rw-r--r-- | gdb/stabsread.c | 2 | ||||
-rw-r--r-- | gdb/symfile.c | 3 | ||||
-rw-r--r-- | gdb/tui/tui-win.c | 4 | ||||
-rw-r--r-- | gdb/valops.c | 14 | ||||
-rw-r--r-- | gdb/varobj.c | 2 | ||||
-rw-r--r-- | gdb/vax-nat.c | 2 |
33 files changed, 101 insertions, 67 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eef187a..18b8eb5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,40 @@ 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. + +2011-02-25 Michael Snyder <msnyder@vmware.com> + * inferior.c (print_inferior): Accept a string instead of an int for requested_inferiors, and use get_number_or_range to parse it. (info_inferiors_command): Pass args string to print_inferior. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index f0e9435..e5e9055 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -7155,8 +7155,9 @@ arm_extract_return_value (struct type *type, struct regcache *regs, || 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; diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index e82626d..1f09415 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -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; diff --git a/gdb/completer.c b/gdb/completer.c index f0597ce..18f01f9 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -914,10 +914,10 @@ line_completion_function (const char *text, int matches, } /* 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) diff --git a/gdb/corelow.c b/gdb/corelow.c index f65a89c..f34b8e1 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -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 diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 27a7631..bdbc215 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -719,7 +719,7 @@ cp_lookup_nested_type (struct type *parent_type, /* 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 *name) 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, diff --git a/gdb/cp-support.c b/gdb/cp-support.c index bb1563f..a479067 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -837,7 +837,7 @@ make_symbol_overload_list_adl_namespace (struct type *type, } } -/* 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 ** diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 0944d00..f99eabd 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -2567,7 +2567,7 @@ asrq_op (unsigned short inst, inst_env_type *inst_env) 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 inst, inst_env_type *inst_env) { 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); diff --git a/gdb/dbxread.c b/gdb/dbxread.c index a3218ec..35b4436 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -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. */ diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 08b804a..9601967 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -10594,7 +10594,7 @@ dwarf_decode_lines (struct line_header *lh, const char *comp_dir, bfd *abfd, 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; diff --git a/gdb/frame.h b/gdb/frame.h index 89e00b2..4b50ad9 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -218,7 +218,7 @@ enum frame_type /* For every stopped thread, GDB tracks two frames: current and selected. Current frame is the inner most frame of the selected - thread. Selected frame is the one being examined by the the GDB + thread. Selected frame is the one being examined by the GDB CLI (selected using `up', `down', ...). The frames are created on-demand (via get_prev_frame()) and then held in a frame cache. */ /* FIXME: cagney/2002-11-28: Er, there is a lie here. If you do the diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index debb41c..5f89fec 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1112,7 +1112,7 @@ struct builtin_type { /* Integral types. */ - /* Implicit size/sign (based on the the architecture's ABI). */ + /* Implicit size/sign (based on the architecture's ABI). */ struct type *builtin_void; struct type *builtin_char; struct type *builtin_short; diff --git a/gdb/inferior.h b/gdb/inferior.h index 8508ce4..13a06d9 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -142,7 +142,7 @@ extern int step_stop_if_no_debug; /* If set, the inferior should be controlled in non-stop mode. In this mode, each thread is controlled independently. Execution - commands apply only to the the selected thread by default, and stop + commands apply only to the selected thread by default, and stop events stop only the thread that had the event -- the other threads are kept running freely. */ extern int non_stop; diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 0159b89..a6c9814 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -3860,7 +3860,7 @@ parse_partial_symbols (struct objfile *objfile) } /* 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, diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index a2ca1ca..ef4cf9b 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3138,8 +3138,8 @@ mips_eabi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, 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 gdbarch *gdbarch, struct value *function, 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 *gdbarch, struct value *function, 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 *gdbarch, struct value *function, 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 *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 frame_info *frame, CORE_ADDR pc) /* 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') { diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index 0c5563e..049cde8 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -264,7 +264,7 @@ typedef char gdb_vrregset_t[SIZEOF_VRREGS]; 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_VSXREGS]; 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. diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index d2c9737..4800fd4 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1509,7 +1509,7 @@ ppc_linux_init_abi (struct gdbarch_info 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. */ diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 39ac8a8..e78acb3 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -333,8 +333,8 @@ print_formatted (struct value *val, int size, || 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), diff --git a/gdb/python/py-block.c b/gdb/python/py-block.c index faa4c46..9d0d6cc 100644 --- a/gdb/python/py-block.c +++ b/gdb/python/py-block.c @@ -173,7 +173,7 @@ blpy_dealloc (PyObject *obj) /* Given a block, and a block_object that has previously been allocated and initialized, populate the block_object with the struct block data. Also, register the block_object life-cycle - with the life-cycle of the the object file associated with this + with the life-cycle of the object file associated with this block, if needed. */ static void set_block (block_object *obj, struct block *block, diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 390d612..2df2336 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -170,7 +170,7 @@ sympy_is_variable (PyObject *self, void *closure) /* Given a symbol, and a symbol_object that has previously been allocated and initialized, populate the symbol_object with the struct symbol data. Also, register the symbol_object life-cycle - with the life-cycle of the the object file associated with this + with the life-cycle of the object file associated with this symbol, if needed. */ static void set_symbol (symbol_object *obj, struct symbol *symbol) diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index 95dda5d..5c1c6bb 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -231,12 +231,12 @@ salpy_dealloc (PyObject *self) self_sal->ob_type->tp_free (self); } -/* Given a sal, and a sal_object that has previously been - allocated and initialized, populate the sal_object with the - struct sal data. Also, register the sal_object life-cycle with the - life-cycle of the the object file associated with this sal, if - needed. If a failure occurs during the sal population, this - function will return NULL. */ +/* Given a sal, and a sal_object that has previously been allocated + and initialized, populate the sal_object with the struct sal data. + Also, register the sal_object life-cycle with the life-cycle of the + object file associated with this sal, if needed. If a failure + occurs during the sal population, this function will return + NULL. */ static int set_sal (sal_object *sal_obj, struct symtab_and_line sal) { @@ -282,7 +282,7 @@ set_sal (sal_object *sal_obj, struct symtab_and_line sal) /* Given a symtab, and a symtab_object that has previously been allocated and initialized, populate the symtab_object with the struct symtab data. Also, register the symtab_object life-cycle - with the life-cycle of the the object file associated with this + with the life-cycle of the object file associated with this symtab, if needed. */ static void set_symtab (symtab_object *obj, struct symtab *symtab) diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 27bf101..0eda620 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -34,7 +34,7 @@ #include "python-internal.h" /* Even though Python scalar types directly map to host types, we use - target types here to remain consistent with the the values system in + target types here to remain consistent with the values system in GDB (which uses target arithmetic). */ /* Python's integer type corresponds to C's long type. */ diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 8087d40..2995a9e 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -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 * diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 16455be..2b2882f 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -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) { diff --git a/gdb/solist.h b/gdb/solist.h index c4607d0..dad11be 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -85,8 +85,8 @@ struct target_so_ops void (*relocate_section_addresses) (struct so_list *so, struct target_section *); - /* Free the the link map info and any other private data - structures associated with a so_list entry. */ + /* Free the link map info and any other private data structures + associated with a so_list entry. */ void (*free_so) (struct so_list *so); /* Reset or free private data structures not associated with diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 24d132d..cd44225 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -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. */ diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 0b0ea4e..b070993 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -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 diff --git a/gdb/stabsread.c b/gdb/stabsread.c index b57d92a..c52f960 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -3477,7 +3477,7 @@ set_length_in_type_chain (struct type *type) 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. diff --git a/gdb/symfile.c b/gdb/symfile.c index 579aaa4..4e0d287 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1697,8 +1697,7 @@ get_section_index (struct objfile *objfile, char *section_name) /* 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) diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 5cc5c4f..3a5d1af 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -650,8 +650,8 @@ tui_refresh_all_win (void) } -/* Resize all the windows based on the the terminal size. This - function gets called from within the readline sinwinch handler. */ +/* Resize all the windows based on the terminal size. This function + gets called from within the readline sinwinch handler. */ void tui_resize_all (void) { diff --git a/gdb/valops.c b/gdb/valops.c index 5465aba..0c07e5c 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -2616,9 +2616,9 @@ find_overload_match (struct type **arg_types, int nargs, { 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_types, int nargs, 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 *curtype, char *name, } /* 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 diff --git a/gdb/varobj.c b/gdb/varobj.c index 0c90645..08a1af3 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1303,7 +1303,7 @@ varobj_set_value (struct varobj *var, char *expression) 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); diff --git a/gdb/vax-nat.c b/gdb/vax-nat.c index 74da677..32657ac 100644 --- a/gdb/vax-nat.c +++ b/gdb/vax-nat.c @@ -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; |