From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4c/+KCkKmWpQ2CIAWB0awg (envelope-from ) for ; Thu, 03 Sep 2026 01:48:25 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=B5ZPNNq/; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=vGTKjIBX; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=A4VGgNnW; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=SLbF1GxY; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id A216F1E09B; Thu, 03 Sep 2026 01:48:25 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8FB181E09B for ; Thu, 03 Sep 2026 01:48:23 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0845F4BA9013 for ; Thu, 3 Sep 2026 05:48:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0845F4BA9013 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=B5ZPNNq/; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=vGTKjIBX; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=A4VGgNnW; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=SLbF1GxY Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 026934BA79A4 for ; Thu, 3 Sep 2026 05:47:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 026934BA79A4 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 026934BA79A4 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788414457; cv=none; b=l23w+WeGOq1PGKRa9gSdPII+USgFxHzA4y99eo1RIjOb3M/iU9MfnEADWZ1gGyxHKonsHW8DcDEV9C31lFgYsG8f+Kobf77k8gm30LpZdEQzRmgiyIY12oO1IQoMyfNDW0GqgEwope++eOTmuBGU5FQENZUSYzie4dPCXhdqKc0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788414457; c=relaxed/simple; bh=TtbF0OKJctAzc62iV7ZsVGRsdMq4eNhWZfUBlRiOd0Q=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=e2BEHlviuLjeVHdZHp/4cRSAbOYJGyMUlu+htmpjBLXQPt8L4rWYOYG8im7fXrtd+PokRKJf9uHcOeeztmb1Ph8e7L7Sc1VXEuF4x0tVBt+yl4cCHsRTHUKzkfa2qkz99M4eSCI7Z0odRhJG32OyNMt2R2I96FNCYNX5WiIpsJ8= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=B5ZPNNq/; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=vGTKjIBX; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=A4VGgNnW; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=SLbF1GxY DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 026934BA79A4 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0CD0921E7B for ; Thu, 3 Sep 2026 05:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1788414451; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEF4UcSt488+MRHC4C11jJwbNuvVWA1PgpUF6btDFEY=; b=B5ZPNNq/GA5a75ZGaUZHlDCLSqByUwII69kynd5QtqpUzFChxKdLRKnKFZnXRN6Dglel1G r90EFmvBNv/p6CmlHMR4fMYkEMDV4c0mH3HpvbAg+cjCnEzmekEGbq6870JUR0u5q+n1wJ uD1h1Y5r+kHDsLx8PYcmKMF+HIlAabc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1788414451; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEF4UcSt488+MRHC4C11jJwbNuvVWA1PgpUF6btDFEY=; b=vGTKjIBXp3snp4BQNtRzQiw5qnJvS/APptbSpgFCsjA7WAFlsCa18ufZV+sg/zq2UdGvoa OMszuJCihUfKIBAg== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1788414447; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEF4UcSt488+MRHC4C11jJwbNuvVWA1PgpUF6btDFEY=; b=A4VGgNnWqC5gyEjza111d2Kwzr9v2isWk6vs7xLVBe/4H8wEbSGwCYWw3xSQ9obqdQnhBd WYx8VOy6D4jLCovuxMew2ZwFkPJVbiHLn3tzlIxVD4UaJRX8cSRjSIM4tC26JflbIxNCWA f56S82cEXkTa4up7CQDNrHjuqqY+skM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1788414447; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEF4UcSt488+MRHC4C11jJwbNuvVWA1PgpUF6btDFEY=; b=SLbF1GxYCe5bY8RglMjeNxlChjj87xTMgU2+o3E6YaoSN7ddzBl2xMODocyRk9pBw2gVP7 Aocbnv8EynkY97Dw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 303701399C for ; Thu, 3 Sep 2026 05:47:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id CO+PCusJmWp0CQAAD6G6ig (envelope-from ) for ; Thu, 03 Sep 2026 05:47:23 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 2/3] [gdb] Fix double words Date: Thu, 3 Sep 2026 07:47:21 +0200 Message-ID: <20260903054722.1461007-2-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260903054722.1461007-1-tdevries@suse.de> References: <20260903054722.1461007-1-tdevries@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.995]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:mid]; URIBL_BLOCKED(0.00)[imap1.dmz-prg2.suse.org:helo,gnu.org:url,suse.de:mid]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; RCVD_TLS_ALL(0.00)[] X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Result of: ... $ find gdb* -type f | xargs sed -i "s/ is is / is /" ... and likewise for with, of, we, be, by, a. Handle "to to" manually, one of those is fixed as "to do". --- gdb/NEWS | 2 +- gdb/README | 2 +- gdb/arm-tdep.c | 2 +- gdb/avr-tdep.c | 2 +- gdb/breakpoint.c | 4 ++-- gdb/breakpoint.h | 2 +- gdb/c-typeprint.c | 2 +- gdb/doc/python.texi | 4 ++-- gdb/dwarf2/unit-head.c | 2 +- gdb/frame.h | 2 +- gdb/frv-linux-tdep.c | 2 +- gdb/gdbthread.h | 2 +- gdb/infrun.c | 2 +- gdb/m68k-linux-tdep.c | 2 +- gdb/or1k-tdep.c | 2 +- gdb/python/lib/gdb/dap/varref.py | 2 +- gdb/python/python-internal.h | 2 +- gdb/remote.c | 4 ++-- gdb/remote.h | 2 +- gdb/svr4-tls-tdep.c | 2 +- gdb/testsuite/gdb.base/call-sc.exp | 2 +- gdb/testsuite/gdb.base/watchpoint.exp | 2 +- gdb/testsuite/gdb.dwarf2/backward-spec-inter-cu.exp | 2 +- gdb/testsuite/gdb.dwarf2/forward-spec-inter-cu.exp | 2 +- gdb/testsuite/gdb.dwarf2/forward-spec.exp | 2 +- gdb/varobj.c | 2 +- gdbserver/server.cc | 4 ++-- 27 files changed, 31 insertions(+), 31 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index 10c182067f9..222f38e3d52 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -5812,7 +5812,7 @@ Renesas RL78 rl78-*-elf This keyword, when provided, will direct the output to either stdout, stderr, or GDB's logging output. - ** Parameters can now be be sub-classed in Python, and in particular + ** Parameters can now be sub-classed in Python, and in particular you may implement the get_set_doc and get_show_doc functions. This improves how Parameter set/show documentation is processed and allows for more dynamic content. diff --git a/gdb/README b/gdb/README index 791bbd23b6c..81e3cd712a7 100644 --- a/gdb/README +++ b/gdb/README @@ -418,7 +418,7 @@ more obscure GDB `configure' options are not listed here. `--enable-binary-file-formats=FORMAT,FORMAT,...' `--enable-binary-file-formats=all' - Configure GDB to only be be able to read selected file formats. + Configure GDB to only be able to read selected file formats. The special value "all" causes all file formats to be compiled in, and is the default behavior of the option. This option is meant for advanced users who are sure of what they expect, diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index c51074c89ff..7ac544c3bbf 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -8751,7 +8751,7 @@ gdb_print_insn_arm (bfd_vma memaddr, disassemble_info *info) There are other ways of forcing a breakpoint. GNU/Linux, RISC iX, and NetBSD all use a software interrupt rather than an undefined - instruction to force a trap. This can be handled by by the + instruction to force a trap. This can be handled by the abi-specific code during establishment of the gdbarch vector. */ #define ARM_LE_BREAKPOINT {0xFE,0xDE,0xFF,0xE7} diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 012022f2b73..95726d3eb0f 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -535,7 +535,7 @@ avr_scan_prologue (struct gdbarch *gdbarch, CORE_ADDR pc_beg, CORE_ADDR pc_end, /* FIXME: TRoth/2003-06-11: This could be made more efficient by only reading in the bytes of the prologue. The problem is that the figuring - out where the end of the prologue is is a bit difficult. The old code + out where the end of the prologue is a bit difficult. The old code tried to do that, but failed quite often. */ read_memory (pc_beg, prologue, len); diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index ca65d7e135d..b2a432e26ba 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -7373,7 +7373,7 @@ watchpoint_locations_match (const struct bp_location *loc1, gdb_assert (w2 != NULL); /* If the target can evaluate the condition expression in hardware, - then we we need to insert both watchpoints even if they are at + then we need to insert both watchpoints even if they are at the same place. Otherwise the watchpoint will only trigger when the condition of whichever watchpoint was inserted evaluates to true, not giving a chance for GDB to check the condition of the @@ -9139,7 +9139,7 @@ decode_static_tracepoint_spec (const char **arg_p) return sals; } -/* Returns the breakpoint ops appropriate for use with with LOCATION_TYPE and +/* Returns the breakpoint ops appropriate for use with LOCATION_TYPE and according to IS_TRACEPOINT. */ static const struct breakpoint_ops * diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 722d75390fa..75de448b16e 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1604,7 +1604,7 @@ extern void extern breakpoint *install_breakpoint (int internal, std::unique_ptr &&b, int update_gll); -/* Returns the breakpoint ops appropriate for use with with LOCSPEC +/* Returns the breakpoint ops appropriate for use with LOCSPEC and according to IS_TRACEPOINT. Use this to ensure, for example, that you pass the correct ops to create_breakpoint for probe location specs. If LOCSPEC is NULL, returns diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index 07f01c92b15..00805e029f8 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -336,7 +336,7 @@ cp_type_print_method_args (struct type *mtype, any typename for TYPE and show its details. SHOW is always zero on recursive calls. - NEED_POST_SPACE is non-zero when a space will be be needed + NEED_POST_SPACE is non-zero when a space will be needed between a trailing qualifier and a field, variable, or function name. */ diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 6cafab78d58..1a38360ca1a 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -394,7 +394,7 @@ Takes @var{value}, an instance of @code{gdb.Value} (@pxref{Values From Inferior}), and appends the value this object represents to @value{GDBN}'s value history (@pxref{Value History}), and return an integer, its history number. If @var{value} is not a -@code{gdb.Value}, it is is converted using the @code{gdb.Value} +@code{gdb.Value}, it is converted using the @code{gdb.Value} constructor. If @var{value} can't be converted to a @code{gdb.Value} then a @code{TypeError} is raised. @@ -422,7 +422,7 @@ named @var{name}. @var{name} must be a string. The name should not include the @samp{$} that is used to mark a convenience variable in an expression. If @var{value} is @code{None}, then the convenience variable is removed. Otherwise, if @var{value} is not a -@code{gdb.Value} (@pxref{Values From Inferior}), it is is converted +@code{gdb.Value} (@pxref{Values From Inferior}), it is converted using the @code{gdb.Value} constructor. @end defun diff --git a/gdb/dwarf2/unit-head.c b/gdb/dwarf2/unit-head.c index 9d8818e6917..1771e43da97 100644 --- a/gdb/dwarf2/unit-head.c +++ b/gdb/dwarf2/unit-head.c @@ -142,7 +142,7 @@ read_unit_head (struct unit_head *header, const gdb_byte *info_ptr, return info_ptr; } -/* Subroutine of read_and_check_unit_head to to simplify it. +/* Subroutine of read_and_check_unit_head to simplify it. Perform various error checking on the header. */ static void diff --git a/gdb/frame.h b/gdb/frame.h index 33a08b1403b..b64650f3215 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -259,7 +259,7 @@ class frame_info_ptr : public intrusive_list_node ~frame_info_ptr () { - /* If this node has static storage, it should be be deleted before + /* If this node has static storage, it should be deleted before frame_list. */ frame_list.erase (frame_list.iterator_to (*this)); } diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c index 956990824cf..c9a55f0ad43 100644 --- a/gdb/frv-linux-tdep.c +++ b/gdb/frv-linux-tdep.c @@ -275,7 +275,7 @@ frv_linux_sigtramp_frame_cache (const frame_info_ptr &this_frame, cache = trad_frame_cache_zalloc (this_frame); - /* FIXME: cagney/2004-05-01: This is is long standing broken code. + /* FIXME: cagney/2004-05-01: This is long standing broken code. The frame ID's code address should be the start-address of the signal trampoline and not the current PC within that trampoline. */ diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 5e540f9d09a..51e9ae1b3f0 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -355,7 +355,7 @@ class thread_info : public intrusive_list_node, per-inferior thread number. This number is unique in the inferior but not unique between inferiors. - b) The global ID (GId). This is a a single integer unique + b) The global ID (GId). This is a single integer unique between all inferiors. E.g.: diff --git a/gdb/infrun.c b/gdb/infrun.c index c0767e7f764..bc88e40b8d5 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1718,7 +1718,7 @@ infrun_inferior_execd (inferior *exec_inf, inferior *follow_inf) { /* If some threads where was doing a displaced step in this inferior at the moment of the exec, they no longer exist. Even if the exec'ing thread - doing a displaced step, we don't want to to any fixup nor restore displaced + doing a displaced step, we don't want to do any fixup nor restore displaced stepping buffer bytes. */ follow_inf->displaced_step_state.reset (); diff --git a/gdb/m68k-linux-tdep.c b/gdb/m68k-linux-tdep.c index ceb15cb1a20..81e957dc681 100644 --- a/gdb/m68k-linux-tdep.c +++ b/gdb/m68k-linux-tdep.c @@ -265,7 +265,7 @@ m68k_linux_sigtramp_frame_cache (const frame_info_ptr &this_frame, cache = trad_frame_cache_zalloc (this_frame); - /* FIXME: cagney/2004-05-01: This is is long standing broken code. + /* FIXME: cagney/2004-05-01: This is long standing broken code. The frame ID's code address should be the start-address of the signal trampoline and not the current PC within that trampoline. */ diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c index 1351dbe2d0c..1935bedc82c 100644 --- a/gdb/or1k-tdep.c +++ b/gdb/or1k-tdep.c @@ -198,7 +198,7 @@ or1k_analyse_l_addi (uint32_t inst, unsigned int *rd_ptr, return false; /* Failure */ } -/* This is used to to parse store instructions during various prologue +/* This is used to parse store instructions during various prologue analysis routines. The l.sw instruction has semantics: assembly: l.sw I(rA),rB diff --git a/gdb/python/lib/gdb/dap/varref.py b/gdb/python/lib/gdb/dap/varref.py index 3cd1ce74fbf..e2dcd03910c 100644 --- a/gdb/python/lib/gdb/dap/varref.py +++ b/gdb/python/lib/gdb/dap/varref.py @@ -119,7 +119,7 @@ class BaseReference(ABC): # Helper method to compute the final name for a child whose base # name is given. Updates the name_counts map. This is used to # handle shadowing -- in DAP, the adapter is responsible for - # making sure that all the variables in a a given container have + # making sure that all the variables in a given container have # unique names. See # https://github.com/microsoft/debug-adapter-protocol/issues/141 # and diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 5529e9fd4d7..57288b9ead3 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -1201,7 +1201,7 @@ class gdbpy_registry } /* Unregister Python object OBJ. OBJ will no longer be invalidated when - OWNER is about to be be freed. */ + OWNER is about to be freed. */ template void remove (O *owner, obj_type *obj) const { diff --git a/gdb/remote.c b/gdb/remote.c index 30d0d171d1f..76cf6b5234f 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -6748,7 +6748,7 @@ thread_pending_fork_status (struct thread_info *thread) return &ws; } -/* Return THREAD's pending status if is is a pending fork/vfork/clone +/* Return THREAD's pending status if is a pending fork/vfork/clone event, else return nullptr. */ static const target_waitstatus * @@ -10822,7 +10822,7 @@ show_watchdog (struct ui_file *file, int from_tty, /* Read a packet from the remote machine, with error checking, and store it in *BUF. Resize *BUF if necessary to hold the result. If FOREVER, wait forever rather than timing out; this is used (in - synchronous mode) to wait for a target that is is executing user + synchronous mode) to wait for a target that is executing user code to stop. If FOREVER == false, this function is allowed to time out gracefully and return an indication of this to the caller. Otherwise return the number of bytes read. If IS_NOTIF is not diff --git a/gdb/remote.h b/gdb/remote.h index 5597dd74af8..4e61c9c88e3 100644 --- a/gdb/remote.h +++ b/gdb/remote.h @@ -50,7 +50,7 @@ extern bool remote_debug; store it in *BUF. Resize *BUF using xrealloc if necessary to hold the result, and update *SIZEOF_BUF. If FOREVER, wait forever rather than timing out; this is used (in synchronous mode) to wait - for a target that is is executing user code to stop. */ + for a target that is executing user code to stop. */ extern void getpkt (remote_target *remote, char **buf, long *sizeof_buf, int forever); diff --git a/gdb/svr4-tls-tdep.c b/gdb/svr4-tls-tdep.c index b39623b324c..0fd09f46e93 100644 --- a/gdb/svr4-tls-tdep.c +++ b/gdb/svr4-tls-tdep.c @@ -117,7 +117,7 @@ svr4_tls_get_thread_local_address (struct gdbarch *gdbarch, ptid_t ptid, target stack, except when 'force_internal_tls_address_lookup' has been set. - The idea here is to prefer use of of the target's thread_stratum + The idea here is to prefer use of the target's thread_stratum method since it should be more accurate. */ if (gdbarch_data->get_tls_dtv_addr == nullptr || (current_inferior ()->target_at (thread_stratum) != nullptr diff --git a/gdb/testsuite/gdb.base/call-sc.exp b/gdb/testsuite/gdb.base/call-sc.exp index 9f9019058ef..825c91c1937 100644 --- a/gdb/testsuite/gdb.base/call-sc.exp +++ b/gdb/testsuite/gdb.base/call-sc.exp @@ -230,7 +230,7 @@ proc test_scalar_returns { } { # If the previous test did not work, the program counter might # still be inside foo() rather than main(). Make sure the program - # counter is is main(). + # counter is main(). # # This happens on ppc64 GNU/Linux with gcc 3.4.1 and a buggy GDB diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index 741e7e441bf..cf6edce23c0 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -438,7 +438,7 @@ proc test_watchpoint_triggered_in_syscall {} { } } -# Do a simple test of of watching through a pointer when the pointer +# Do a simple test of watching through a pointer when the pointer # itself changes. Should add some more complicated stuff here. proc test_complex_watchpoint {} { diff --git a/gdb/testsuite/gdb.dwarf2/backward-spec-inter-cu.exp b/gdb/testsuite/gdb.dwarf2/backward-spec-inter-cu.exp index de76cc8aca2..2b59c01474b 100644 --- a/gdb/testsuite/gdb.dwarf2/backward-spec-inter-cu.exp +++ b/gdb/testsuite/gdb.dwarf2/backward-spec-inter-cu.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the DWARF reader works with a a DW_AT_specification that +# Check that the DWARF reader works with a DW_AT_specification that # refers to an earlier DIE. Inter-cu variant of forward-spec.exp. load_lib dwarf.exp diff --git a/gdb/testsuite/gdb.dwarf2/forward-spec-inter-cu.exp b/gdb/testsuite/gdb.dwarf2/forward-spec-inter-cu.exp index eb1d8a2df58..a2c5f7b921e 100644 --- a/gdb/testsuite/gdb.dwarf2/forward-spec-inter-cu.exp +++ b/gdb/testsuite/gdb.dwarf2/forward-spec-inter-cu.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the DWARF reader works with a a DW_AT_specification that +# Check that the DWARF reader works with a DW_AT_specification that # refers to a later DIE. Inter-cu variant of forward-spec.exp. load_lib dwarf.exp diff --git a/gdb/testsuite/gdb.dwarf2/forward-spec.exp b/gdb/testsuite/gdb.dwarf2/forward-spec.exp index fd7d008adb3..80156dbd9a1 100644 --- a/gdb/testsuite/gdb.dwarf2/forward-spec.exp +++ b/gdb/testsuite/gdb.dwarf2/forward-spec.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Check that the DWARF reader works with a a DW_AT_specification that +# Check that the DWARF reader works with a DW_AT_specification that # refers to a later DIE. require !readnow diff --git a/gdb/varobj.c b/gdb/varobj.c index b1429bfe69a..edc0d48bf3b 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -2263,7 +2263,7 @@ varobj_value_is_changeable_p (const struct varobj *var) return var->root->lang_ops->value_is_changeable_p (var); } -/* Return true if that varobj is floating, that is is always evaluated in the +/* Return true if that varobj is floating, that is always evaluated in the selected frame, and not bound to thread/frame. Such variable objects are created using '@' as frame specifier to -var-create. */ bool diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 4a727c465f0..a208e24d09f 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -1318,7 +1318,7 @@ handle_detach (char *own_buf) "Persistent commands are present, " "leaving gdbserver attached to the process\n"); - /* Make sure we're in non-stop/async mode, so we we can both + /* Make sure we're in non-stop/async mode, so we can both wait for an async socket accept, and handle async target events simultaneously. There's also no point either in having the target stop all threads, when we're going to @@ -4676,7 +4676,7 @@ captured_main (int argc, char *argv[]) { if (disconnected_tracing) { - /* Try to enable non-stop/async mode, so we we can + /* Try to enable non-stop/async mode, so we can both wait for an async socket accept, and handle async target events simultaneously. There's also no point either in having the target always stop -- 2.51.0