From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mRW7Dx8KmWpQ2CIAWB0awg (envelope-from ) for ; Thu, 03 Sep 2026 01:48:15 -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=BLstqQfr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=4KgUstPZ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=0DBqfXz2; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tdH6XNSr; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 37BAE1E166; Thu, 03 Sep 2026 01:48:15 -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 EF4271E09B for ; Thu, 03 Sep 2026 01:48:13 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 047064BA902E for ; Thu, 3 Sep 2026 05:48:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 047064BA902E 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=BLstqQfr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=4KgUstPZ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=0DBqfXz2; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tdH6XNSr 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 040244BA79B7 for ; Thu, 3 Sep 2026 05:47:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 040244BA79B7 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 040244BA79B7 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=hucK3xcY3P3vsh4DZ4dAXunw2canLXLGI7IpIlP+jB0Kvi9BTVVocSi8G4wB7s0FCQNzRT3/x3A4ia0YolNpmQVb1Eg3m0j8Ciwjxdt9zNtxuH77aLf3+lCJyp9vyPoaTe6MgGT6mpA6y7CpkH4DaPGRNzI0vyCTsfzZ4GD/ac8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788414457; c=relaxed/simple; bh=/AawQVoFauAdRjQLN2pAAnHM57FkA622xYdDqr3+CAo=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=nGHjZ0GnCcVO2Z0Ej+0QEnopwWfhYZ2WseL0SReZa1feKr8c4m7JRyf/DAhXCeYLaqAGhc/KC2KN1X7ez7W2Un+wuJn2/nJPfJBDkYsCqQoGheI9B7NwUqZ5wLkSzKXZ0sWOHe5URsgZYsNbGtjULpx9bbZ8BTAJGaFq8eUYYOw= 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=BLstqQfr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=4KgUstPZ; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=0DBqfXz2; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=tdH6XNSr DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 040244BA79B7 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 1D78221E81 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=0eGV2wJ1QoeBnE51De2GOo9Th31DCBLKn6S9o2UE3t8=; b=BLstqQfrXbh8y6/JmZeIoEacpoDNse4Ke9cwkiBjHhO3+RW2JWCR+ykQqu6P9c+4Z6a5Ch 26r+wdnyG57EtwwEmvlE3xw6G79AE2RRqOWT5mhyP7oSAMfEeme0prJ9bzxW3agHv2nsLT 4jIvOmUBtUxsorvIrt5YRysLa9jyVe0= 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=0eGV2wJ1QoeBnE51De2GOo9Th31DCBLKn6S9o2UE3t8=; b=4KgUstPZhr8Qt/1Y7s6SjK1ARhQ4NZKcxcFlvtseF0ptQvuv64LCi4zSrDH1LLjcE6iMRf 9IOrEWDNlnyJ0nBQ== 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=0eGV2wJ1QoeBnE51De2GOo9Th31DCBLKn6S9o2UE3t8=; b=0DBqfXz2pifqfgraUIMRx96Ge03KYdtBM6rV+924YfEc+iIINMa9l7ApsFsWDs8ZCo78ah J2bPEpPNsN2eKikxqX+kZi87gEZY5f5hUmDo2kQveBnr5fo48cUb+fXifwJLFdl6V/Ozs6 TbVEHpxZdJNoE9groOBuMsrfBpGyTiE= 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=0eGV2wJ1QoeBnE51De2GOo9Th31DCBLKn6S9o2UE3t8=; b=tdH6XNSroIEE3ScfOvZdnT67oO2eIkHiYwzA1tmPOvPgy7ry9SnjPKFQ0yTYKrsv+o/yME 88KI9RAsJmMehUCg== 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 49D5C139A1 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 qGrXEOsJmWp0CQAAD6G6ig (envelope-from ) for ; Thu, 03 Sep 2026 05:47:23 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed 3/3] [gdb] Fix dont -> don't typo Date: Thu, 3 Sep 2026 07:47:22 +0200 Message-ID: <20260903054722.1461007-3-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.993]; 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)[suse.de:mid,imap1.dmz-prg2.suse.org:helo]; URIBL_BLOCKED(0.00)[suse.de:mid,imap1.dmz-prg2.suse.org:helo]; 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/ dont / don't /" ... and manually fixing two hits of ' dont.' The "dont->don't" rule is part of the code dictionary: ... - 'code' for words from code and/or mathematics that are likely to be typos in other contexts (such as uint) ... but it tries to rewrite stdio into studio, so we'll leave that disabled. We do have a fair amount of dont_ in our sources, so I'm not adding this as a rule in gdb/contrib/codespell-dictionary.txt. It doesn't hurt us now, but it does if we start playing with the word regexp [1]. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=34241 --- gdb/arm-tdep.c | 2 +- gdb/dwarf2/loc.c | 4 ++-- gdb/m32r-tdep.c | 2 +- gdb/mips-tdep.c | 2 +- gdb/stubs/m68k-stub.c | 2 +- gdb/testsuite/gdb.base/skip-inline.exp | 2 +- gdb/testsuite/gdb.reverse/step-reverse.exp | 2 +- gdbsupport/event-loop.cc | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 7ac544c3bbf..bffd5d22199 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -11546,7 +11546,7 @@ arm_record_extension_space (arm_insn_decode_record *arm_insn_r) if (0 == insn_op1 || 1 == insn_op1) { /* SMLA, SMLAW, SMULW. */ - /* We dont do optimization for SMULW where we + /* We don't do optimization for SMULW where we need only Rd. */ record_buf[0] = bits (arm_insn_r->arm_insn, 12, 15); record_buf[1] = ARM_PS_REGNUM; diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c index 8e2b401ba34..15336aaf017 100644 --- a/gdb/dwarf2/loc.c +++ b/gdb/dwarf2/loc.c @@ -2161,7 +2161,7 @@ dwarf2_get_symbol_read_needs (gdb::array_view expr, get_frame_pc); /* If SYMBOL_NEEDS_FRAME is returned from the previous call, - we dont have to check the baton content. */ + we don't have to check the baton content. */ if (symbol_needs != SYMBOL_NEEDS_FRAME) { gdbarch *arch = baton.per_objfile->objfile->arch (); @@ -2212,7 +2212,7 @@ dwarf2_get_symbol_read_needs (gdb::array_view expr, get_frame_pc, true); /* If SYMBOL_NEEDS_FRAME is returned from the previous call, - we dont have to check the baton content. */ + we don't have to check the baton content. */ if (symbol_needs != SYMBOL_NEEDS_FRAME) { gdbarch *arch = baton.per_objfile->objfile->arch (); diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index b5792eeeafc..d881f33c057 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -289,7 +289,7 @@ decode_prologue (struct gdbarch *gdbarch, if (insn == 0x0000) break; - /* If this is a 32 bit instruction, we dont want to examine its + /* If this is a 32 bit instruction, we don't want to examine its immediate data as though it were an instruction. */ if (current_pc & 0x02) { diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index fe0482fe5bf..2a60d6ef097 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2120,7 +2120,7 @@ micromips_next_pc (struct regcache *regcache, CORE_ADDR pc) /* Decoding the next place to set a breakpoint is irregular for the mips 16 variant, but fortunately, there fewer instructions. We have to cope ith extensions for 16 bit instructions and a pair of actual - 32 bit instructions. We dont want to set a single step instruction + 32 bit instructions. We don't want to set a single step instruction on the extend instruction either. */ /* Lots of mips16 instruction formats */ diff --git a/gdb/stubs/m68k-stub.c b/gdb/stubs/m68k-stub.c index cbea4772fc7..a5ec9bce088 100644 --- a/gdb/stubs/m68k-stub.c +++ b/gdb/stubs/m68k-stub.c @@ -486,7 +486,7 @@ _returnFromException (Frame * frame) frame = lastFrame; frame->frameSize = 4; frame->format = 0; - frame->fsaveHeader = -1; /* restore regs, but we dont have fsave info */ + frame->fsaveHeader = -1; /* restore regs, but we don't have fsave info */ } #if !defined (mc68020) && !defined (mc68332) diff --git a/gdb/testsuite/gdb.base/skip-inline.exp b/gdb/testsuite/gdb.base/skip-inline.exp index a0223efa2eb..d15ba556044 100644 --- a/gdb/testsuite/gdb.base/skip-inline.exp +++ b/gdb/testsuite/gdb.base/skip-inline.exp @@ -94,7 +94,7 @@ gdb_test "skip function foo" "Function foo will be skipped when stepping\." single_step # Some compilers link the epilogue of functions to the line containing the -# closing brace, while others dont. The behavior ends up so out of sync +# closing brace, while others don't. The behavior ends up so out of sync # with multiple steps at a time, that completely different procs would need # to be made, and it is frankly unnecessary. if {$epilogue} { diff --git a/gdb/testsuite/gdb.reverse/step-reverse.exp b/gdb/testsuite/gdb.reverse/step-reverse.exp index d72638c9169..66ae378a153 100644 --- a/gdb/testsuite/gdb.reverse/step-reverse.exp +++ b/gdb/testsuite/gdb.reverse/step-reverse.exp @@ -174,7 +174,7 @@ gdb_test_multiple "stepi" "$test_message" { # stepi backward out of a function call -# When testing stepi, we dont want to infinitely step if we're not moving +# When testing stepi, we don't want to infinitely step if we're not moving # so we store the starting PC, in case we land on the same line as above set start_pc [get_hexadecimal_valueof "\$pc" 0 "get PC at start"] set get_pc_count 0 diff --git a/gdbsupport/event-loop.cc b/gdbsupport/event-loop.cc index c6e1b5b4634..b7217282110 100644 --- a/gdbsupport/event-loop.cc +++ b/gdbsupport/event-loop.cc @@ -623,7 +623,7 @@ gdb_wait_for_event (int block) FD_ZERO (&gdb_notifier.ready_masks[1]); FD_ZERO (&gdb_notifier.ready_masks[2]); - /* Dont print anything if we got a signal, let gdb handle + /* Don't print anything if we got a signal, let gdb handle it. */ if (errno != EINTR) perror_with_name (("select")); -- 2.51.0