From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8DA3C3858CDA; Mon, 12 Jun 2023 10:59:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DA3C3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686567597; bh=U6TDFxXnt5H/UZVDOgY2RnQHSGdOSQsCXp2S/7ymw0s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GP1cWZNtZT24TrT2nYmef1mf7kyYoeEQvyF2CLjBOe+/GBTPY4Vtl9lK74BnwbeT+ 97fP7OyZDvGjGsP3YzHYDR5pduvSVA32/p/ngkK3rthJTrEN8YsU0pOtnHIb3EblnO MFI3MPxbNxGAvjQ616YIh4bBL7NignaEswQhikkA= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30538] [gdb/testsuite, aarch64] FAIL: gdb.python/py-rbreak.exp: check number of returned breakpoints is 11 Date: Mon, 12 Jun 2023 10:59:56 +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: 13.1 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=3D30538 --- Comment #1 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=3D9f82823f8972= fbd4bba0230b27828d87f0548cbc commit 9f82823f8972fbd4bba0230b27828d87f0548cbc Author: Tom de Vries Date: Mon Jun 12 13:00:09 2023 +0200 [gdb/testsuite] Relax breakpoint count check in gdb.python/py-rbreak.exp With a gdb 13.2 based package on SLE-15 aarch64, I run into: ... (gdb) PASS: gdb.python/py-rbreak.exp: nosharedlibrary py sl =3D gdb.rbreak("^[^_]",minsyms=3DFalse)^M Breakpoint 2 at 0x4004ac: file ../sysdeps/aarch64/crti.S, line 63.^M ... (gdb) py print(len(sl))^M 12^M (gdb) FAIL: gdb.python/py-rbreak.exp: check number of returned breakpoi= nts is 11 ... The FAIL is due to: - the glibc object crti.o containing debug information for function call_weak_fn, and - the test-case not expecting this. The debug information is there due to compiling glibc using a binutils which contains commit 591cc9fbbfd ("gas/Dwarf: record functions"). I've run into a similar issue before, see commit 3fbbcf473a5 ("[gdb/testsuite] Fix regexp in py-rbreak.exp"). The fix I applied there was to use a regexp "^[^_]" to filter out __libc_csu_fini and __libc_csu_init, but that doesn't work for call_weak_fn. Fix this by: - reverting the regexp to "", and - rewriting the check to require at least 11 functions, rather than a precise match. Tested on x86_64-linux. PR testsuite/30538 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30538 --=20 You are receiving this mail because: You are on the CC list for the bug.=