From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Ae+NDwf9H2oVAjIAWB0awg (envelope-from ) for ; Wed, 03 Jun 2026 06:08:07 -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=JR9l14Fs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=JR9l14Fs; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 39E761E062; Wed, 03 Jun 2026 06:08:07 -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 [IPv6:2620:52:6:3111::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 717E21E062 for ; Wed, 03 Jun 2026 06:08:06 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A2C504BA23C5 for ; Wed, 3 Jun 2026 10:08:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2C504BA23C5 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=JR9l14Fs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=JR9l14Fs; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id CAAA74BA2E1F for ; Wed, 3 Jun 2026 10:05:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CAAA74BA2E1F 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 CAAA74BA2E1F Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481136; cv=none; b=DwGXshFdi0i3fnOALXWAg3JPr0okKt2sBs+7M3PyfQo1q5aZHfedniMx0anvLC/YM2TNDf/l8gmAFvcyzGSVCXR7oaCWHZYvCCuqjQ1Vf54DGAuqKaoyb4pT6lszry9LSiA/pvZFt57yTWAf9LH/LtAYzfcHd2f7Y6lnYJK28WY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1780481136; c=relaxed/simple; bh=TNqiMFIov3y0J6ds6PXqAUEn7L8aTafxUe2mb8FMj3g=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=DsEWpU3HcUbuWoc7dFV/KMtIGqrH2+RFUbcjhbu9DysGIiInKNfj4duGiwzUXm83jbdFcF0xhKt/pQsVgXIe7rnnCbrBPK4WC7P574p5iyEosWib0JhDGMEC8KbwChpmxbMRGNrYCuof4hgutQHim/aKWPbAIXxkUIsUP+nRpyE= 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=JR9l14Fs; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=JR9l14Fs; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Idc5wDXL DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAAA74BA2E1F 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 113596A912 for ; Wed, 3 Jun 2026 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=JR9l14FsRBa0Yx+Kr9JUYiqQuqcW4mcV7LtsokVBJkxR/bgmx89vHlIKkpJAO5DrEJsSUE rN6keiMHxJuwiPebAHicrYhXuoWODpoP+VSEUVgAurZm9pzEfpirkEggWK3uyHbH6poKME i84nsfQG9EIhHuAGnxmbaTbCgrfiCks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=Idc5wDXLDyWHiphKvRTWz1FzR9idDQy+LibQvm9WoTGmf7Muvq9s1qySL0a409aAr5QDtr OYj+/mHVi2SLu8CQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=JR9l14FsRBa0Yx+Kr9JUYiqQuqcW4mcV7LtsokVBJkxR/bgmx89vHlIKkpJAO5DrEJsSUE rN6keiMHxJuwiPebAHicrYhXuoWODpoP+VSEUVgAurZm9pzEfpirkEggWK3uyHbH6poKME i84nsfQG9EIhHuAGnxmbaTbCgrfiCks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1780481117; 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=hcinHNDwW/kbTAH7C02eSfIplWOR5kqFkdN82oRD0v0=; b=Idc5wDXLDyWHiphKvRTWz1FzR9idDQy+LibQvm9WoTGmf7Muvq9s1qySL0a409aAr5QDtr OYj+/mHVi2SLu8CQ== 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 F08C05A4E5 for ; Wed, 3 Jun 2026 10:05:16 +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 sMNIOVz8H2pjewAAD6G6ig (envelope-from ) for ; Wed, 03 Jun 2026 10:05:16 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH 4/9] [gdb] Fix typos Date: Wed, 3 Jun 2026 12:05:11 +0200 Message-ID: <20260603100516.144737-5-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260603100516.144737-1-tdevries@suse.de> References: <20260603100516.144737-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)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(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]; 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 Fix typos in the gdb dir. --- gdb/arm-linux-nat.c | 2 +- gdb/buildsym.c | 6 +++--- gdb/buildsym.h | 2 +- gdb/infrun.c | 2 +- gdb/infrun.h | 2 +- gdb/loongarch-tdep.c | 2 +- gdb/ppc-linux-tdep.c | 4 ++-- gdb/windows-nat.c | 6 +++--- gdb/xcoffread.c | 2 +- gdb/z80-tdep.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index b3d4ce1ec37..fdfe79a9f58 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -711,7 +711,7 @@ struct arm_linux_hw_breakpoint for caching address and control information. The Linux ptrace interface to hardware break-/watch-points presents the - values in a vector centred around 0 (which is used fo generic information). + values in a vector centred around 0 (which is used for generic information). Positive indices refer to breakpoint addresses/control registers, negative indices to watchpoint addresses/control registers. diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 9799af17f32..94bc5a24edb 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -924,15 +924,15 @@ buildsym_compunit::augment_type_symtab () } } -/* Push a context block. VALU is the starting PC address of this +/* Push a context block. VALUE is the starting PC address of this context. */ void -buildsym_compunit::push_context (CORE_ADDR valu) +buildsym_compunit::push_context (CORE_ADDR value) { m_context_stack.emplace_back (std::move (m_local_symbols), m_local_using_directives, - m_pending_blocks, valu); + m_pending_blocks, value); m_local_using_directives = nullptr; } diff --git a/gdb/buildsym.h b/gdb/buildsym.h index c9010665bce..c46f75e6511 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -218,7 +218,7 @@ struct buildsym_compunit m_producer = producer; } - void push_context (CORE_ADDR valu); + void push_context (CORE_ADDR value); /* Pop a context and create the corresponding block. Returns the block. END_ADDR is the final address of the block. STATIC_LINK, diff --git a/gdb/infrun.c b/gdb/infrun.c index 11c5d5214d6..f246af57c3e 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -7006,7 +7006,7 @@ handle_signal_stop (struct execution_control_state *ecs) std::string addr_str; if (addr_list.empty ()) - addr_str = "(no data addressses available)"; + addr_str = "(no data addresses available)"; else { for (const CORE_ADDR addr : addr_list) diff --git a/gdb/infrun.h b/gdb/infrun.h index 42c867ce303..cbc603b74ed 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -129,7 +129,7 @@ extern void start_remote (int from_tty); continued or stepped. First do this, then set the ones you want, then call `proceed'. STEP indicates whether we're preparing for a step/stepi command. Set ABOUT_TO_PROCEED to false if we're not - calling `proceeed` yet. */ + calling `proceed` yet. */ extern void clear_proceed_status (int step, bool about_to_proceed = true); extern void proceed (CORE_ADDR, enum gdb_signal); diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c index 225b1abb703..8bf4d33012a 100644 --- a/gdb/loongarch-tdep.c +++ b/gdb/loongarch-tdep.c @@ -734,7 +734,7 @@ loongarch_frame_prev_register (const frame_info_ptr &this_frame, /* If we are asked to unwind the PC, then we need to return the RA instead. The prologue may save PC, but it will point into this - frame's prologue, not the previou frame's resume location. */ + frame's prologue, not the previous frame's resume location. */ if (regnum == LOONGARCH_PC_REGNUM) { CORE_ADDR ra; diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 19698eaacbe..07969454b39 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -574,7 +574,7 @@ static const struct regset ppc32_linux_vsxregset = { regcache_collect_regset }; -/* Program Priorty Register regmap. */ +/* Program Priority Register regmap. */ static const struct regcache_map_entry ppc32_regmap_ppr[] = { @@ -582,7 +582,7 @@ static const struct regcache_map_entry ppc32_regmap_ppr[] = { 0 } }; -/* Program Priorty Register regset. */ +/* Program Priority Register regset. */ const struct regset ppc32_linux_pprregset = { ppc32_regmap_ppr, diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index d9e924f16c6..61942a83797 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -133,7 +133,7 @@ the process. In fact, it seldom is. E.g., if the main thread calls ExitProcess (or returns from main, which ends up calling ExitProcess), then we typically see a EXIT_THREAD_DEBUG_EVENT event for the main thread first, followed by more EXIT_THREAD_DEBUG_EVENT events for -other threads, and then finaly the EXIT_PROCESS_DEBUG_EVENT for +other threads, and then finally the EXIT_PROCESS_DEBUG_EVENT for whatever thread happened to be the last one to exit. When a thread reports EXIT_THREAD_DEBUG_EVENT / @@ -259,7 +259,7 @@ wants the "sig" thread to be running. This isn't ideal, since this means that with user-visible non-stop, the inferior will only be able to process and report one signal at a time (as the "sig" thread is responsible for that), but that seems -like an acceptible compromise, better than not being able to have the +like an acceptable compromise, better than not being able to have the target work in non-stop by default on Cygwin. */ using namespace windows_nat; @@ -1269,7 +1269,7 @@ windows_nat_target::stop_one_thread (windows_thread_info *th, stop and calls windows_continue on this thread. */ && stopping_kind == SK_EXTERNAL) { - DEBUG_EVENTS ("explict stop for \"sig\" thread %s held for signal", + DEBUG_EVENTS ("explicit stop for \"sig\" thread %s held for signal", thr_ptid.to_string ().c_str ()); th->stopping = stopping_kind; diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 73662c47c3d..08d5d810c6f 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -235,7 +235,7 @@ xcoff_get_toc_offset (objfile *objfile) return 0; } -/* This function is used to read minimal sysmbols from the XCOFF STABS +/* This function is used to read minimal symbols from the XCOFF STABS symbol table. This function needs to be called when a library (like libc) in AIX is compiled using xlc whose debug format is STABS. When STABS debug information is not available, then in the backtrace diff --git a/gdb/z80-tdep.c b/gdb/z80-tdep.c index f7e207d02ec..9aba5d3df45 100644 --- a/gdb/z80-tdep.c +++ b/gdb/z80-tdep.c @@ -1423,7 +1423,7 @@ z80_get_insn_info (struct gdbarch *gdbarch, const gdb_byte *buf, int *size) case insn_adl: info = &ez80_adl_main_insn_table[0]; break; - /* These two (for GameBoy Z80 & Z80 Next CPUs) haven't been tested. + /* These two (for Game Boy Z80 & Z80 Next CPUs) haven't been tested. case bfd_mach_gbz80: info = &gbz80_main_insn_table[0]; -- 2.51.0