Replace "the the" with "the".
Result of running:
...
$ find gdb* -type f | egrep -v ChangeLog | xargs sed -i 's/the the /the /'
$ find gdb* -type f | egrep -v ChangeLog | xargs sed -i 's/the the$/the/'
...
The only change I have doubts about, is this comment in queue_comp_unit in
gdb/dwarf2/read.c:
...
... . If the CU gets enqueued by this function but its DIEs
- are not yet loaded, the the caller must load the CU's DIEs to ensure the
+ are not yet loaded, the caller must load the CU's DIEs to ensure the
invariant is respected.
...
where I think "the the" -> "then the" also make sense. But for now, I'm going
with "the the" -> "the".
Tested by building gdb on x86_64-linux.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
`--enable-binary-file-formats=all'
Configure GDB to only be be able to read selected file formats.
The special value "all" causes all file formats to be compiled
- in, and is the the default behavior of the option. This option
+ in, and is the default behavior of the option. This option
is meant for advanced users who are sure of what they expect,
if you are unsure which options you will need on your debugging
sessions, we recommend that you not use this feature. The
}
/* The AArch64 version of the "store_registers" target_ops method. Copy
- the value of register REGNO from REGCACHE into the the target. */
+ the value of register REGNO from REGCACHE into the target. */
static void
aarch64_store_registers (struct regcache *regcache, int regno)
/* A version of the "store_registers" target_ops method used when running
32-bit ARM code on an AArch64 target. Copy the value of register REGNO
- from REGCACHE into the the target. */
+ from REGCACHE into the target. */
static void
aarch32_store_registers (struct regcache *regcache, int regno)
long exp;
int base;
/* For the based literal with an "f" prefix, we'll return a
- floating-point number. This counts the the number of "l"s seen,
+ floating-point number. This counts the number of "l"s seen,
to decide the width of the floating-point number to return. -1
means no "f". */
int floating_point_l_count = -1;
However, at most one register with a given name is actually allocated for
a specific wave. If INFERIOR_PTID represents a GPU wave, we query
amd-dbgapi to know whether the requested register actually exists for the
- current wave, so there won't be duplicates in the the register names we
+ current wave, so there won't be duplicates in the register names we
report for that wave.
But there are two known cases where INFERIOR_PTID doesn't represent a GPU
to the exception and if FPU is used (causing extended stack frame). */
/* In the lockup state PC contains a lockup magic value.
- The PC value of the the next outer frame is irreversibly
+ The PC value of the next outer frame is irreversibly
lost. The other registers are intact so LR likely contains
PC of some frame next to the outer one, but we cannot analyze
the next outer frame without knowing its PC
the @code{set record instruction-history-size} command. Instructions
are printed in execution order.
-It can also print mixed source+disassembly if you specify the the
+It can also print mixed source+disassembly if you specify the
@code{/m} or @code{/s} modifier, and print the raw instructions in hex
as well as in symbolic form by specifying the @code{/r} or @code{/b}
modifier. The behavior of the @code{/m}, @code{/s}, @code{/r}, and
(present in `dwarf2_per_bfd::queue`), then its DIEs are loaded
(a dwarf2_cu object exists for this CU, and `dwarf2_per_objfile::get_cu`
returns non-nullptr). If the CU gets enqueued by this function but its DIEs
- are not yet loaded, the the caller must load the CU's DIEs to ensure the
+ are not yet loaded, the caller must load the CU's DIEs to ensure the
invariant is respected.
The caller is therefore not required to load the CU's DIEs (we return false)
/* Return the address at which the value being returned from
the current function will be stored. This routine is only
- called if the current function uses the the "struct return
+ called if the current function uses the "struct return
convention".
May return 0 when unable to determine that address. */
comment="""
Return the address at which the value being returned from
the current function will be stored. This routine is only
-called if the current function uses the the "struct return
+called if the current function uses the "struct return
convention".
May return 0 when unable to determine that address.""",
any inlined frames). */
struct frame_id step_stack_frame_id {};
- /* True if the the thread is presently stepping over a breakpoint or
+ /* True if the thread is presently stepping over a breakpoint or
a watchpoint, either with an inline step over or a displaced (out
of line) step, and we're now expecting it to report a trap for
the finished single step. */
extern int thread_is_in_step_over_chain (struct thread_info *tp);
-/* Return the length of the the step over chain TP is in.
+/* Return the length of the step over chain TP is in.
If TP is non-nullptr, the thread must be in a step over chain.
TP may be nullptr, in which case it denotes an empty list, so a length of
\f
/* Return the leading symbol character for BFD ABFD. If ABFD is nullptr,
- return the leading symbol character from the the main objfile of PSPACE.. */
+ return the leading symbol character from the main objfile of PSPACE.. */
static int
get_symbol_leading_char (program_space *pspace, bfd *abfd)
}
}
-/* Copy the thread debug register state from the PARENT thread to the the
+/* Copy the thread debug register state from the PARENT thread to the
state for CHILD_LWP, if we're using the HWDEBUG interface. We assume
the kernel copies the debug registers from one thread to another after
a clone event. The low_prepare_to_resume function is made to work
}
gdb_assert (it->unrelocated_pc () < unrel_end);
- /* We're at the the last linetable entry of the current function. This
+ /* We're at the last linetable entry of the current function. This
is probably where the epilogue begins, but since the DWARF 5 spec
doesn't guarantee it, we iterate backwards through the current
function until we either find the epilogue beginning, or are sure
return m_value.unrel_addr;
}
- /* The unrelocated address just after the end of the the minimal
+ /* The unrelocated address just after the end of the minimal
symbol. */
unrelocated_addr unrelocated_end_address () const
{
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Create a core file with some mapped file regions, but ensure that
-# the the kernel should write the regions into the core file (e.g. r/w
+# the kernel should write the regions into the core file (e.g. r/w
# file backed mapping).
#
# We then delete the file that backed the mapping and load the core
verbose -log "APB: Matched on '$ignore'"
verbose -log "APB: arguments: '$arguments'"
- # Check the the argument string mentions xmm0.
+ # Check the argument string mentions xmm0.
if {![regexp {@%?xmm0} $arguments]} {
verbose -log "APB: Prove doesn't use xmm0 register"
return false
return -1
}
-# Test that the the inferior sees EXPECTED env vars starting with
+# Test that the inferior sees EXPECTED env vars starting with
# "TEST_GDB".
proc test_num_test_vars {expected message} {
set num [get_integer_valueof "j" -1 "$message, get num vars"]
gdb_test_no_output "set language c++"
if { ![readnow] } {
- # Check that the the CU (Compilation Unit) is unexpanded.
+ # Check that the CU (Compilation Unit) is unexpanded.
gdb_test_no_output "maintenance info symtabs"
}
gdb_test "ptype complex" "type = complex\\*4"
}
-# Test the the primitive Fortran types, those that GDB should always
+# Test the primitive Fortran types, those that GDB should always
# know, even if the program does not define them, are in fact, known.
proc test_primitive_types_known {} {
foreach type {void character \
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Check the the output of gdb.execute can be styled or not depending
+# Check the output of gdb.execute can be styled or not depending
# on the value of the third argument passed to gdb.execute.
require allow_python_tests
# * Otherwise, if the attribute name has a default form (f.i. DW_FORM_addr for
# DW_AT_low_pc), then that one is used.
# * Otherwise, an error is reported. Either specify a form explicitly, or
-# add a default for the the attribute name in _default_form.
+# add a default for the attribute name in _default_form.
#
# CHILDREN is just Tcl code that can be used to define child DIEs. It
# is evaluated in the caller's context.