From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9206B3858C53; Fri, 25 Aug 2023 13:46:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9206B3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692971191; bh=zYdFR1K6vN6KdhXpq7EMNh0qf5DSW8YnRX5gefEtmjk=; h=From:To:Subject:Date:From; b=s4mmYHbSklSTuzsiCl3v77X5sXefn04hscFiBzoB+FYiefv273uzWwpqACQSf9jn8 UIvzAL8UkVLF5DK3oXSZkawExGSmhgrsS5UF2ppX6c7fW7yRACwemivuOzHSEqKAWM 9dsWSKuwukbeulfp/d9ue+oM07E3U1Rf2gg5vRQs= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30797] New: [gdb/symtab, cc-with-dwz] FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 Date: Fri, 25 Aug 2023 13:46:31 +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=3D30797 Bug ID: 30797 Summary: [gdb/symtab, cc-with-dwz] FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 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: --- With target board cc-with-dwz I run into: ... FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 2 (time= out) FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 ... The second one in more detail: ... (gdb) PASS: gdb.base/setshow.exp: test_setshow_annotate: show annotate (1) info line 1^M Line 1 of "/data/vries/gdb/src/gdb/testsuite/gdb.base/setshow.c" is at addr= ess 0x400527
but contains no code.^M Line 1 of "/data/vries/gdb/src/gdb/testsuite/gdb.base/setshow.c" is at addr= ess 0x400527
but contains no code.^M (gdb) FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 ... Let's try this with system gdb, based on 12.1: ... $ gcc ./src/gdb/testsuite/gdb.base/setshow.c -g $ gdb -q -batch a.out -ex "set annotate 1" -ex "info line 1" Line 1 of "./src/gdb/testsuite/gdb.base/setshow.c" is at address 0x400517
but contains no code. =EF=BF=BD=EF=BF=BD/data/vries/gdb/binutils-gdb.git/gdb/testsuite/gdb.base/s= etshow.c:1:0:beg:0x400517 $ dwz a.out $ gdb -q -batch a.out -ex "set annotate 1" -ex "info line 1" Line 1 of "./src/gdb/testsuite/gdb.base/setshow.c" is at address 0x400517
but contains no code. =EF=BF=BD=EF=BF=BD/data/vries/gdb/binutils-gdb.git/gdb/testsuite/gdb.base/s= etshow.c:1:0:beg:0x400517 $ ... OK, so far so good, now with master: ... $ gcc ./src/gdb/testsuite/gdb.base/setshow.c -g $ gdb -q -batch a.out -ex "set annotate 1" -ex "info line 1" Line 1 of "./src/gdb/testsuite/gdb.base/setshow.c" is at address 0x400517
but contains no code. =EF=BF=BD=EF=BF=BD/data/vries/gdb/binutils-gdb.git/gdb/testsuite/gdb.base/s= etshow.c:1:0:beg:0x400517 $ dwz a.out $ gdb -q -batch a.out -ex "set annotate 1" -ex "info line 1" Line 1 of "./src/gdb/testsuite/gdb.base/setshow.c" is at address 0x400517
but contains no code. Line 1 of "./src/gdb/testsuite/gdb.base/setshow.c" is at address 0x400517
but contains no code. ... So this is a gdb 12 -> gdb 13 regression. --=20 You are receiving this mail because: You are on the CC list for the bug.=