From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A0666385843A; Wed, 19 Jul 2023 07:18:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0666385843A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689751123; bh=kxQ6hQcLRnHUKUaRtiEJU9OVwK2T31R2/w6ApTYXfKo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=E6143KX8uoV90/YvAOuv1eS30XzJB/tIhfh8JnZtJf5is5O/Hr/Wl7qpeWRDA0mdX r+bc2NUCWD3iir9Mem24eVzhC99Z8HCISsvL7radQ0E2OQyquvHYAoq9ooHtskFDl5 gUiowKAey2G12GZImEzqtgiB9LqjTS32YIMFSw/Q= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30648] [gdb, lto] FAIL: gdb.gdb/python-helper.exp: hit breakpoint in outer gdb again Date: Wed, 19 Jul 2023 07:18:43 +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: 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=3D30648 --- Comment #3 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=3D0d332f111224= 73192a944230e1d925bac115ca0d commit 0d332f11122473192a944230e1d925bac115ca0d Author: Tom de Vries Date: Wed Jul 19 09:18:29 2023 +0200 [gdb/testsuite] Fix gdb.gdb/python-helper.exp with -O2 -flto=3Dauto and= gcc 7.5.0 With a gdb build with -O2 -flto=3Dauto using gcc 7.5.0, I run into: ... (gdb) ptype global_c^M ^M Thread 1 "xgdb" hit Breakpoint 3, \ _Z12c_print_typeP4typePKcP7ui_fileii8languagePK18type_print_options (= ) at \ gdb/c-typeprint.c:175^M 175 {^M (outer-gdb) FAIL: gdb.gdb/python-helper.exp: hit breakpoint in outer gdb again ... This is a problem with the debug info, which marks the CU containing the function declaration as C rather than C++. This is fixed in gcc 8 and later. Work around this compiler problem by allowing the mangled name. Tested on x86_64-linux. PR testsuite/30648 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30648 --=20 You are receiving this mail because: You are on the CC list for the bug.=