From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 017863858C2C; Sun, 16 Oct 2022 07:41:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 017863858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665906082; bh=uSII0dfWzZQeU3qO6NazAopm3x0QMFzwFR7cDWlmqOk=; h=From:To:Subject:Date:From; b=Be4l6gYqDRvpdyjspD7LxHlXglo9wMMULogRiRpx/NCeJHmUzdn5v5VdOGuylhkG7 BRDi39vODwCdCNPO2cMIlyAJ/9AcCk/IRvmmNNPdkRm5jLIgCdvp9l3s1UFri9Mj0M PpZmDzfyfxrUrDdhLEiSkT+gB/AwDfBdP1RL0D+w= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29694] New: [gdb, gdb-index] FAIL: gdb.cp/stub-array-size.exp: print sizeof(a)/sizeof(a[0]) Date: Sun, 16 Oct 2022 07:41:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29694 Bug ID: 29694 Summary: [gdb, gdb-index] FAIL: gdb.cp/stub-array-size.exp: print sizeof(a)/sizeof(a[0]) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- On openSUSE Tumbleweed with test-case gdb.cp/stub-array-size.exp and target board cc-with-gdb-index, I run into: ... (gdb) print sizeof(a)/sizeof(a[0])^M Division by zero^M (gdb) FAIL: gdb.cp/stub-array-size.exp: print sizeof(a)/sizeof(a[0]) ... This is a regression since gdb 12 branch point. Bisects to: ... 6acc36f71dfc60e357496174672103f133f85e97 is the first bad commit commit 6acc36f71dfc60e357496174672103f133f85e97 Author: Tom Tromey Date: Thu Apr 21 09:37:24 2022 -0600 Fix method naming bug in new DWARF indexer ... --=20 You are receiving this mail because: You are on the CC list for the bug.=