From patchwork Sun Oct 6 10:46:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 98433 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF6323860762 for ; Sun, 6 Oct 2024 10:46:44 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id EF5B33858D20 for ; Sun, 6 Oct 2024 10:46:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EF5B33858D20 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 EF5B33858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728211577; cv=none; b=pGnh4PT6DGlZkoqAcRY0bzBw5z94RkfA8kaG0ZmUI3y3TTKGGFTni1ptROo7HkHG3IVc18icHGv14kdDzeOKyJIQ5d2n/uoyP/1kVocW5aazeX9MAYi9EgGxLkG4NtKF8dhlkolBggm1ez1j2LCT7+AtF/3vwXZ1swfPr2O+lj4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728211577; c=relaxed/simple; bh=XQawymelECLSZNLfO8gw3Oavp8TwpNXBwlI0fTgD2vU=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-Id:MIME-Version; b=jyNEzRwydTPdCYL8c9B1KRR5af6wAklAvKkOH+vIkVgCo1GKMY20vOXIzdgU3ZzfqzzFxSCINqQVu9a4e5PqNZ0LN/UEpZq0yBtq6Uoz8kA+yV4cBBHpBFFPAOvpn4sSzTHcYmvW6RWquTBnPc/Wy/iwbV7KrkgwDrsJsDyuh7Y= ARC-Authentication-Results: i=1; server2.sourceware.org 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-out2.suse.de (Postfix) with ESMTPS id 02AB81FCE8 for ; Sun, 6 Oct 2024 10:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1728211574; 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=lAVyQJtJClFonmlx5QOwmulFOSCVMM0dKkeavchGzSQ=; b=gl+FdpTD632gjmHUcpvD1GfZaob7p/GGulR69QIct+39fjMKigmC54QksKs/FfIOfgS7/1 eNOVJgZAlUddSlJqwRMWX191W10UFtXxRcCbDQsqEXClUPSx9j8G5sRagWYVYznn9Uo5LI j/wbOV61U+yEmcoIzgY9aStA6eU2BZ4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1728211574; 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=lAVyQJtJClFonmlx5QOwmulFOSCVMM0dKkeavchGzSQ=; b=uiGgliAOSIap/d+8n7PvtL9nmpRiQ1YUVRo/DPIOViy2MR/BxJqdEotOGykiHuT9BGhBaX FEmrF+lR4GmX4iBw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1728211574; 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=lAVyQJtJClFonmlx5QOwmulFOSCVMM0dKkeavchGzSQ=; b=gl+FdpTD632gjmHUcpvD1GfZaob7p/GGulR69QIct+39fjMKigmC54QksKs/FfIOfgS7/1 eNOVJgZAlUddSlJqwRMWX191W10UFtXxRcCbDQsqEXClUPSx9j8G5sRagWYVYznn9Uo5LI j/wbOV61U+yEmcoIzgY9aStA6eU2BZ4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1728211574; 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=lAVyQJtJClFonmlx5QOwmulFOSCVMM0dKkeavchGzSQ=; b=uiGgliAOSIap/d+8n7PvtL9nmpRiQ1YUVRo/DPIOViy2MR/BxJqdEotOGykiHuT9BGhBaX FEmrF+lR4GmX4iBw== 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 E03C813A6E for ; Sun, 6 Oct 2024 10:46:13 +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 iEWENXVqAmcWKwAAD6G6ig (envelope-from ) for ; Sun, 06 Oct 2024 10:46:13 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 3/3] [gdb/contrib] Fix "sofar->so far" misspelling Date: Sun, 6 Oct 2024 12:46:03 +0200 Message-Id: <20241006104603.7584-3-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20241006104603.7584-1-tdevries@suse.de> References: <20241006104603.7584-1-tdevries@suse.de> MIME-Version: 1.0 X-Spam-Score: -2.79 X-Spamd-Result: default: False [-2.79 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.19)[-0.965]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; 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)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Level: X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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~patchwork=sourceware.org@sourceware.org I forgot to follow up on a review comment and fix the "sofar->so far" misspelling [1]. Fix this by adding it to gdb/contrib/common-misspellings.txt. Tested on x86_64-linux. [1] https://sourceware.org/pipermail/gdb-patches/2024-September/211894.html --- gdb/contrib/common-misspellings.txt | 1 + gdb/run-on-main-thread.c | 2 +- gdb/symtab.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gdb/contrib/common-misspellings.txt b/gdb/contrib/common-misspellings.txt index 7281ec085dd..62e2c510ae3 100644 --- a/gdb/contrib/common-misspellings.txt +++ b/gdb/contrib/common-misspellings.txt @@ -15,3 +15,4 @@ # Common spelling mistakes. inbetween->between, in between, in-between +sofar->so far diff --git a/gdb/run-on-main-thread.c b/gdb/run-on-main-thread.c index a6213d4d85e..746ea35ee9e 100644 --- a/gdb/run-on-main-thread.c +++ b/gdb/run-on-main-thread.c @@ -85,7 +85,7 @@ run_events (int error, gdb_client_data client_data) { /* Should cancelation of a runnable event cancel the execution of the following one? The answer is not clear, so keep doing what - we've done sofar: ignore this exception. */ + we've done so far: ignore this exception. */ } catch (const gdb_exception &) { diff --git a/gdb/symtab.c b/gdb/symtab.c index 0a077469428..a479e920c60 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2992,7 +2992,7 @@ find_pc_sect_compunit_symtab (CORE_ADDR pc, struct obj_section *section) section. */ } - /* Cust is best found sofar, save it. */ + /* Cust is best found so far, save it. */ best_cust = cust; best_cust_range = range; }