From patchwork Fri Feb 16 18:37:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 85896 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 4E703385782D for ; Fri, 16 Feb 2024 18:38:28 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id E78753857C77 for ; Fri, 16 Feb 2024 18:37:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E78753857C77 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E78753857C77 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::12d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708108674; cv=none; b=jADXvt/yXsINScJ9LET7WW807Uy6uATCnIcp9pifVpML3ZpOdYE0WiJYIq7chDpEn10EuHkaNRqCvV8OrCPKEn7NhFMzw8gjJIDkqsub43u8MrQ0aMOsXsHXfstEPD689zZaj2fq+J/irhhRlrRVFP4qR40T7D1EtiXKeXp9ECU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708108674; c=relaxed/simple; bh=vAj9gCZA+iCXEtBuP1ZSPwUgD9WMdWd+ZeDX7llMVnQ=; h=DKIM-Signature:From:Date:Subject:MIME-Version:Message-Id:To; b=CSoDt47COse4l7JhJ8LBj/YGc0rTY/xEWhci5ex6Tuf5vSd/grDdFrdrNvig44H1zLiF6UUTpnKPnkcG38yusAzgFCCX+nN6AfCMo52EGxRwb2+S0aevZkjB3pIDCmfAVZRbu5YF7YqXLxIb5AvwcbtHfACRzsaz3xv6WVT3RT8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-363bdac74c6so6304795ab.2 for ; Fri, 16 Feb 2024 10:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1708108672; x=1708713472; darn=sourceware.org; h=to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bxbfoU/T2Tv7yGfFkcbD27rhFiZu1Ahi4n5+EJsMOhQ=; b=f2bJNhl0Rr32AlB2bG5VYAzWitZeXAGjV5XbdtQQ6LQ8oVXaQGS4zIY2/YuJNmRRDF 48yC/7aDty0olV0Q1SuP+FrCYrsGh8rz14HX5/uezN8pRnRGsm2v+8eK5SSZtRGTR8uM wJDHLKWiDr2GT0sJM7Bm+NulYcMdoioh8GTI2PdyJVKyfYwAqpd//GWkZRCyM3EowBhw FDi+AyC1+aAoP3rbrIhkC4D+cpsq0fOFEkPbZLVFdpAgEGS03FGHnv47Do2DpOoz08wU k47NRGHbbNPJ7bz1l5QSVYMtYaRMkSZC0IT1y8avkX6NLTOL8LsnSMlx7SjEibJNRZdU Jy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708108672; x=1708713472; h=to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bxbfoU/T2Tv7yGfFkcbD27rhFiZu1Ahi4n5+EJsMOhQ=; b=ryAAs80iC2DY4zOL2jvfE0SalRHB3x4Jp3uBS3lzCx9UPMcfLhzsQFmOex2n+Alamf gufc3908iMkqBkXdvxPghwjMBaMhkjcrAk8Dxh9iXvElktxrJXmdf7tQ0Dvxi3KbDzqL wNQWtuJhbBCoa2AwrRmnaIPXinm377DtSzYSLAclptaP/XNgxegmDa3HgzIP/9lCp8Ry p6yeaYa9/0l+5tGVI3ELHN5/R3t6A4c7FOnHPe5vgAx7GkzrcGqrXZprYP56Bal3gVLj vs/xkwf4Wqrhruc+zDyk/I5EtCggtjliG+F5HW9xxR+QM8n5CHz1G/FgKhLVbZRFdyx5 GbsA== X-Gm-Message-State: AOJu0YxdaaCKrmSgfD84ROz85me6KZBunBPEnKS5hF4XXaWBygUD4uYn dQxjnzoDtcSS0qjQ1tHFtPnnRSr7ZPxbRVFNDpINFjgPUOC5kcerpDi4MxVmdQ7NKtQwUiLShSg = X-Google-Smtp-Source: AGHT+IHsPVvRdCRIUncescgxtTdRQ30YlqndaAIXmq7vSvmhQ3HdLWDtcQcn69Yr5DOdUhxSEIUxag== X-Received: by 2002:a05:6e02:1301:b0:365:16c8:ca7c with SMTP id g1-20020a056e02130100b0036516c8ca7cmr699898ilr.23.1708108672092; Fri, 16 Feb 2024 10:37:52 -0800 (PST) Received: from localhost.localdomain (71-211-170-195.hlrn.qwest.net. [71.211.170.195]) by smtp.gmail.com with ESMTPSA id g20-20020a0566380bd400b00473eb9f9afcsm104724jad.61.2024.02.16.10.37.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 10:37:51 -0800 (PST) From: Tom Tromey Date: Fri, 16 Feb 2024 11:37:50 -0700 Subject: [PATCH 2/5] Fix formatting buglet in python.c MIME-Version: 1.0 Message-Id: <20240216-py-simple-exc-v1-2-c275bcfb5e4a@adacore.com> References: <20240216-py-simple-exc-v1-0-c275bcfb5e4a@adacore.com> In-Reply-To: <20240216-py-simple-exc-v1-0-c275bcfb5e4a@adacore.com> To: gdb-patches@sourceware.org X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 python.c has a split string that is missing a space. There's also a stray backslash in this code. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/python/python.c b/gdb/python/python.c index 845abb3aa86..09b1029e0b7 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -1572,7 +1572,7 @@ gdbpy_print_stack (void) /* An error occurred computing the string representation of the error message. */ gdb_printf (gdb_stderr, - _("Error occurred computing Python error" \ + _("Error occurred computing Python error " "message.\n")); PyErr_Clear (); }