From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD505383F412; Mon, 2 Aug 2021 22:32:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD505383F412 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug ada/28180] New: FAIL: gdb.ada/interface.exp: print s (timeout) Date: Mon, 02 Aug 2021 22:32:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2021 22:32:29 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28180 Bug ID: 28180 Summary: FAIL: gdb.ada/interface.exp: print s (timeout) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: ada Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- With current master I noticed this timeout: ... (gdb) PASS: gdb.ada/interface.exp: print r print s^M Multiple matches for s^M [0] cancel^M [1] s at /home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/inter= face/foo.adb:20^M [2] s at /home/vries/gdb_versions/devel/binutils-gdb.git/gdb/testsuite/gdb.ada/inter= face/foo.adb:?^M > FAIL: gdb.ada/interface.exp: print s (timeout) ... Bisects to: ... commit ba8694b650b60c29126fd958575ffa1ca4f6c415 (HEAD) Author: Tom Tromey Date: Thu Jul 1 08:55:15 2021 -0600 Handle type qualifier for enumeration name Pierre-Marie noticed that the Ada expression "TYPE'(NAME)" resolved incorrectly when "TYPE" was an enumeration type. Here, "NAME" should be unambiguous. This patch fixes this problem. Note that the patch is not perfect -- it does not give an error if TYPE is an enumeration type but NAME is not an enumerator but does have some other meaning in scope. Fixing this proved difficult, and so I've left it out. ... Fails with gcc-7.5.0, 8.5.0, passes with gcc-9.3.1, gcc-10.3.1, gcc-11.1.1. --=20 You are receiving this mail because: You are on the CC list for the bug.=