From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id CbhIBhwHimq2ZTcAWB0awg (envelope-from ) for ; Sat, 22 Aug 2026 16:31:24 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=XaaG0I2Y; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 12CDC1E0A3; Sat, 22 Aug 2026 16:31:24 -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.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,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 63E491E09B for ; Sat, 22 Aug 2026 16:31:23 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 949164B9DB73 for ; Sat, 22 Aug 2026 20:31:22 +0000 (GMT) Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id ED27F4BA900F for ; Sat, 22 Aug 2026 20:30:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED27F4BA900F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ED27F4BA900F Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787430611; cv=none; b=k+0dDrqqdvD5SHfglwRC0ysfHEllAaVBOYEd6x7J7g8I93HqMblceoZSQ5Xicg3NEKCoHBpLp650RiZ57Ze4qDuMO9J9o3Pcpco4P9J6ok178LMvkEtjWSSYie50FA0kHEaKgR99uuMP3aLLfEltlv0UR+Ld9w7ODd3M5VFvNcs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1787430611; c=relaxed/simple; bh=FBJ2f6j1HGYf//gZfGoTV2Hu8xk4/tGPQZSGI9BGxUA=; h=DKIM-Signature:From:Date:Subject:MIME-Version:Message-Id:To; b=mkMwAmAkoiZCtTcHr5axlbIBcGlwnrK/99kZJrmkEu6rptuhuHgDIAQEPnVwq6WhJQ4aVKpXKiAXlc4crKNqbIXUfSPBBQigTekC9lJ/jjnEFMm15Qijjzpmy5F5qQRMW9N6R8djQZqA2OJ1LNy908INg7iNl0wGYT/45fe/VW8= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=XaaG0I2Y reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED27F4BA900F Authentication-Results: sourceware.org; dkim=policy reason="signing key too small" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=XaaG0I2Y Received: from eig-obgw-6005b.ext.cloudfilter.net ([10.0.30.162]) by cmsmtp with ESMTPS id xoP1wOZghusRSxsLwwPztS; Sat, 22 Aug 2026 20:30:08 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id xsLvwfWfrvBFRxsLvwdImi; Sat, 22 Aug 2026 20:30:08 +0000 X-Authority-Analysis: v=2.4 cv=DewXqutW c=1 sm=1 tr=0 ts=6a8a06d0 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=ItBw4LHWJt0A:10 a=_RNpd8A525ZH0esJcLsA:9 a=QEXdDO2ut3YA:10 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Cc:To:In-Reply-To:References:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UyQ4aEq0mBkWxFLPmcEJhls/UB/9tTHwigXBEe3TT4U=; b=XaaG0I2YmkZvFmevBq0IjEEmBv MBqT4FDUk5VyIQV33IwDG0RpN8rzNmc2tcFA+juhluVxLacIFY7vnwsTpbpducT2Wb6PowWc/gG3w LRTHZsa7aT7uU+MPjrVqVpqDm; Received: from 97-122-117-2.hlrn.qwest.net ([97.122.117.2]:35668 helo=[192.168.122.1]) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1wxsLv-00000002Mju-1Td6; Sat, 22 Aug 2026 14:30:07 -0600 From: Tom Tromey Date: Sat, 22 Aug 2026 14:30:07 -0600 Subject: [PATCH 5/5] Fix styling in a few messages MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260822-no-backquotes-in-strings-v1-5-0b035ad036a3@tromey.com> References: <20260822-no-backquotes-in-strings-v1-0-0b035ad036a3@tromey.com> In-Reply-To: <20260822-no-backquotes-in-strings-v1-0-0b035ad036a3@tromey.com> To: gdb-patches@sourceware.org Cc: Tom Tromey X-Mailer: b4 0.14.3 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.117.2 X-Source-L: No X-Exim-ID: 1wxsLv-00000002Mju-1Td6 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-117-2.hlrn.qwest.net ([192.168.122.1]) [97.122.117.2]:35668 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPUBQ2AaklgSO9PkgjoMUg1A5yllGHe5RKDZoIyA8rW7a10F5PaWQ2IiKUGtdxuVSi4Jzi3kA43KU+SeBjxj3yM93GU7lmBpLx/jr6uVx1TUXwvAEgGn aImdEOiMz7vtdsjo5jasNXavxHZSfcstFYhpUYfWTyZ1CWP4WRRQPe0+qJZ9xoy2ai3ALJvA+ZFYBjfDvsYnUD4VZ9Ll9g4mY38= 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 While working on fixing the `...' quoting, I stumbled across a few spots that should use CLI styling but currently do not. This patch fixes the ones I found. --- gdb/ada-lang.c | 3 ++- gdb/windows-nat.c | 3 ++- gdb/xml-syscall.c | 8 ++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index a0781d2d6dd..9e7dee54908 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -7888,7 +7888,8 @@ ada_template_to_fixed_record_type_1 (struct type *type, warning (_("Invalid type size for \"%s\" detected: %s."), rtype->name (), pulongest (type->length ())); else - warning (_("Invalid type size for detected: %s."), + warning (_("Invalid type size for %ps detected: %s."), + styled_string (metadata_style.style (), ""), pulongest (type->length ())); } else diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 8d50457b55c..380b30f541f 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -2867,7 +2867,8 @@ windows_nat_target::create_inferior (const char *exec_file, ensure_only_one_process (); if (!exec_file) - error (_("No executable specified, use \"target exec\".")); + error (_("No executable specified, use \"%ps\"."), + styled_string (command_style.style (), "target exec")); const char *inferior_cwd = current_inferior ()->cwd ().c_str (); std::string expanded_infcwd; diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c index 1fe50acc191..d8a66a6413f 100644 --- a/gdb/xml-syscall.c +++ b/gdb/xml-syscall.c @@ -22,6 +22,7 @@ #include "xml-support.h" #include "xml-syscall.h" #include "gdbarch.h" +#include "cli/cli-style.h" /* For the struct syscall definition. */ #include "target.h" @@ -363,8 +364,11 @@ init_syscalls_info (struct gdbarch *gdbarch) if (syscalls_info->syscalls.empty ()) { if (xml_syscall_file != NULL) - warning (_("Could not load the syscall XML file \"%s/%s\"."), - gdb_datadir.c_str (), xml_syscall_file); + warning (_("Could not load the syscall XML file \"%p[%s/%s%p]\"."), + file_name_style.style ().ptr (), + gdb_datadir.c_str (), + xml_syscall_file, + nullptr); else warning (_("There is no XML file to open.")); -- 2.49.0