From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7392D3857427; Wed, 11 May 2022 12:36:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7392D3857427 From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29138] [gdb/testsuite] FAIL: gdb.cp/break-f-std-string.exp: _GLIBCXX_USE_CXX11_ABI=1: whatis /r std::string Date: Wed, 11 May 2022 12:36:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net 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: cc 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 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: Wed, 11 May 2022 12:36:51 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29138 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro at palves dot net --- Comment #3 from Pedro Alves --- Sounds like it, yes. Thanks tracking that down. I'm not sure off hand what is the best fix.=20=20 I mean, it's probably something around skipping the test for gcc < 8 (C++11= ABI support was added around GCC 5 IIRC, but older ones should just test the sa= me thing twice so pointless to let them run the _GLIBCXX_USE_CXX11_ABI=3D1 tes= ts) or something. Or maybe the testcase .cc file could define std::string typedef itself on s= uch compilers.=20=20 We could test std::__cxx11::string too, though that wouldn't exercise the original issue the testcase ran into, with the special mangling feature for "std::string", so seems a bit pointless too. Or something else. In any case, it doesn't look like a GDB bug. --=20 You are receiving this mail because: You are on the CC list for the bug.=