From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5EE8385CCA7; Mon, 2 Oct 2023 17:48:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5EE8385CCA7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696268910; bh=v0LXubiPJzpo2303toL/d1VIGtxL72MKj7d/5Jc0dRo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f0CjJbfIhRiVfbzDZLyekR/9ps6NMwCC2D942vpA2yiqA013azO9phSc8N2RRH+6r /LbTBWG6eDIeqdTG7yUjkX2GdGyMhcIgrBdyH/WB6hf2ShSiW7LBpd/g0uv44Jgm8j ckZMamfGVryKC0ZRk2z5wjjF6hJEhkDfHXqurYD8= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug ada/30908] [gdb/ada, gcc 13] FAIL: gdb.ada/str_binop_equal.exp: print my_str = "ABCD" Date: Mon, 02 Oct 2023 17:48:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: cvs-commit 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: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30908 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D89238cfdbaad= ede9817f0848202f1d34f9885d94 commit 89238cfdbaadede9817f0848202f1d34f9885d94 Author: Tom de Vries Date: Mon Oct 2 19:48:21 2023 +0200 [gdb/testsuite] Add KFAIL for PR ada/30908 With gcc 13.2.1, I run into a cluster of fails: ... FAIL: gdb.ada/str_binop_equal.exp: print my_str =3D "ABCD" FAIL: gdb.ada/widewide.exp: print my_wws =3D " helo" FAIL: gdb.ada/widewide.exp: print my_ws =3D "wide" ... The problem is that the debug info contains information about function ada.strings.maps."=3D", and gdb uses it to implement the comparison. The function is supposed to compare two char sets, not strings, so gdb shouldn't use it. This is PR ada/30908. I don't see the same problem with gcc 7.5.0, because the exec doesn't contain the debug info for the function, because the corresponding object is not linked in. Adter adding "with Ada.Strings.Maps; use Ada.Strings.Maps;"= to gdb.ada/widewide/foo.adb I run into the same problem with gcc 7.5.0. Add KFAILs for the PR. Tested on x86_64-linux: - openSUSE Leap 15.4 (using gcc 7.5.0), and - openSUSE Tumbleweed (using gcc 13.2.1). Approved-By: Tom Tromey Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30908 --=20 You are receiving this mail because: You are on the CC list for the bug.=