From patchwork Wed Jan 8 20:06:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 104363 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 1499B3858C60 for ; Wed, 8 Jan 2025 20:06:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1499B3858C60 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=SuzO/+1t X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by sourceware.org (Postfix) with ESMTPS id 0F1363858D29 for ; Wed, 8 Jan 2025 20:06:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F1363858D29 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 0F1363858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736366776; cv=none; b=SCXd+5MmRGHn7xJDLMnSdL9Fz0GWejGMwrvOCo77GaS655LBJymc/dphzi/pbghuahSOa46jFyM+LcBOuVqKIYAydKRo2oevKL32WWJpWOnGmK1bxhNNEHHWr2yF+xDqmGFzpmCUmUMvMXDWOEzrqKU4v9JFvh6I/bRWEw7uIw4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736366776; c=relaxed/simple; bh=vWxbjEWsuuPrXMxHTStiW/6iTLkcenuHNmj5/kKdLw4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=pdsmxKMcJFt5ATCzZHHmu54thO2RXQPlzEz99gMdt3rk9jnbwf/weolPiqod7kzYbwKQla6hsib77NKM2a+Q+HNTR9+SueBd5EIttRjZorL1QbNR7q0bTLwYBa367ROWZ8EKpiuj2OiylnrQ0vVxbrcA9KLIdBGBZ4vEIAy+q+0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F1363858D29 Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-844e161a957so10310839f.0 for ; Wed, 08 Jan 2025 12:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1736366775; x=1736971575; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9e+OmSSzehnXYOHtW/yzVufS1DHsFD6jiitIo9gXN7s=; b=SuzO/+1t54QQ8CqSJmJBT6nWtE/JDDugAMlo6jL831jKo4b3Jt7KG/ScWzJFGjozFP lS5FGCB80XB3IXq4Cdf3eak7lWKzW2SNjKx0idqyT9pvHrXYKDGUySpQQKIr6q8ChpCC 0OhmtKBsbb5sb2NdzUzafNbiRZir9DBtoU2Bm2hHx9wJxH6wfLL3j9Gcn2QkgwRJHl68 jApcyp1x+XuusQ5C24wWnV5MZ181xDRGx+b1Psq5IDjGx9QO/z5h204273GjgGrnd2D7 eZztjopJ/4x0WN792vpel4gsqx5bt9rhatLGQ26dRnCrBZ6DHsQHeSpReR3xCZ0pUV2e ElpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736366775; x=1736971575; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9e+OmSSzehnXYOHtW/yzVufS1DHsFD6jiitIo9gXN7s=; b=AODNqkLn8QZI1vvZ31WYeQPYgSff3TEmYkDSsUBC6R2AJu7XjwFvFZOdLixLp0n33/ yBUdlaflA45IbFuY68A86uZ/sZhNQan3Pd5V2Xlnxi2DbK5BsebzwJdZuKyITIIWzzP7 s8hIkNGba1YLyoXttBE9SL/XM3xWXPgALYL3UlaBZ7xsrKYtUPutzg3xUVdtDtjKRqqe Jqjt7PqP9cf4hjVk1rq1Hw+HzWBNmMjeo8I6H3Z3pLyiZOOm64hUfD58HJwJ96Pguwse t2uH4ZYa4ZOhGG9CaSW1C5Y9HzMS8IVSGn1BVwIx2vEYdugu919D7uN43W4XV9NCbA9U DMOg== X-Gm-Message-State: AOJu0YxJzOVeBjI4Zt+zLfgBrEPzM9InFVFIGVR29kiTamh5rbxraMJk ULGcaOn4Gte4TDzqfizYSIR6l6E8B4nAXJypkFRp/awajudDOPuqcSbmP1B6hiNf3e92SDuvZUo = X-Gm-Gg: ASbGncuiRVsbtv6wqqTRCyLP+oPEph/GVl+ABQYQrlzCTLYklaV8OpQfKKkKlsellYC by20DMaBRG+/P3KiX+02Aa530LeVP67Flfaci7azTDgwMPyesZx0Qs3LB/gbYXuGr6CQjDZLE3h Esnrcm6xJJ2tclnAJEfsqgpssejG6GVI6rSZPc4+6YHSCvHmWxbqkyTLPC6G6Njhzz9FGZlb//7 Q39UiYoPHduYGuZWayBPJe5FY9vKqhY9nS5K1EAz3W4BPc16ynLral2QtVPIWqc28ZHMcRg6CeP 7BL0KrQ7fmg4k5gMpHns X-Google-Smtp-Source: AGHT+IHuBfaPT65uvve9B/eOgS6DaMOxjP+6yB3Y1zM8hhgzrkh24fL7lXmLFO42pn9/Q8kGHRrVZA== X-Received: by 2002:a05:6602:370f:b0:83b:2b89:a14e with SMTP id ca18e2360f4ac-84ce018e836mr358290739f.13.1736366775331; Wed, 08 Jan 2025 12:06:15 -0800 (PST) Received: from localhost.localdomain (97-118-36-154.hlrn.qwest.net. [97.118.36.154]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4e68bf64f1esm10168411173.37.2025.01.08.12.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 12:06:14 -0800 (PST) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Rename two Ada test suite functions Date: Wed, 8 Jan 2025 13:06:05 -0700 Message-ID: <20250108200605.3973069-1-tromey@adacore.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, 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 happened to notice that the Ada compiler emitted a warning when compiling a couple of DAP tests. This wasn't intentional, and this patch renames the functions to match the filename. --- gdb/testsuite/gdb.dap/ada-nested/prog.adb | 4 ++-- gdb/testsuite/gdb.dap/ada-scopes/prog.adb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/gdb.dap/ada-nested/prog.adb b/gdb/testsuite/gdb.dap/ada-nested/prog.adb index cbd7ac2762e..f20b17e3630 100644 --- a/gdb/testsuite/gdb.dap/ada-nested/prog.adb +++ b/gdb/testsuite/gdb.dap/ada-nested/prog.adb @@ -13,7 +13,7 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -procedure Foo is +procedure Prog is X : Integer := 12; procedure Outer (Outer_Arg : Integer) is @@ -29,4 +29,4 @@ begin for I in 1 .. 20 loop Outer (1); end loop; -end Foo; +end Prog; diff --git a/gdb/testsuite/gdb.dap/ada-scopes/prog.adb b/gdb/testsuite/gdb.dap/ada-scopes/prog.adb index 22586ef2dea..17511f75eb3 100644 --- a/gdb/testsuite/gdb.dap/ada-scopes/prog.adb +++ b/gdb/testsuite/gdb.dap/ada-scopes/prog.adb @@ -15,7 +15,7 @@ with Pack; use Pack; -procedure Foo is +procedure Prog is type Enum_Type is (one, two, three); Value : Enum_Type := three; @@ -23,4 +23,4 @@ procedure Foo is begin Do_Nothing (Value'address); Do_Nothing (My_String'address); -- STOP -end Foo; +end Prog;