From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 928293858429; Fri, 29 Jul 2022 09:28:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 928293858429 From: "lsix at lancelotsix dot com" To: gdb-prs@sourceware.org Subject: [Bug mi/29426] FAIL: gdb.mi/mi-var-invalidate.exp: linteger not anymore in scope due to binary changes (unexpected output) Date: Fri, 29 Jul 2022 09:28:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lsix at lancelotsix dot com 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: Fri, 29 Jul 2022 09:28:58 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29426 Lancelot SIX changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lsix at lancelotsix dot com --- Comment #1 from Lancelot SIX --- I could not see those issues on ubuntu-20.04 (gcc-9.4.0) nor ubuntu-22.04 (gcc-11.2.0). I finally managed to reproduce it on opensuse/tumbleweed which uses gcc-12.= 1.1. Turns out that if I compile the testcase with HEAD gcc (13.0.0) on ubuntu, I can reproduce the issue: ``` $ $HOME/opt/gcc/bin/gcc --version gcc (GCC) 13.0.0 20220729 (experimental) Copyright =C2=A9 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # make check-gdb \ TESTS=3D"gdb.mi/mi-var-invalidate-shlib.exp gdb.mi/mi-var-invalidate.ex= p" \ RUNTESTFLAGS=3DCC_FOR_TARGET=3D$HOME/opt/gcc/bin/gcc [...] Running /home/lsix/dev/binutils-gdb/_build/gdb/testsuite/../../../gdb/testsuite/gdb= .mi/mi-var-invalidate-shlib.exp ... FAIL: gdb.mi/mi-var-invalidate-shlib.exp: separate_debuginfo=3D0: in new pr= ocess: global_var recreated (unexpected output) FAIL: gdb.mi/mi-var-invalidate-shlib.exp: separate_debuginfo=3D1: in new pr= ocess: global_var recreated (unexpected output) Running /home/lsix/dev/binutils-gdb/_build/gdb/testsuite/../../../gdb/testsuite/gdb= .mi/mi-var-invalidate.exp ... FAIL: gdb.mi/mi-var-invalidate.exp: linteger not anymore in scope due to bi= nary changes (unexpected output) FAIL: gdb.mi/mi-var-invalidate.exp: no type for invalid variable linteger (= 1) (unexpected output) =3D=3D=3D gdb Summary =3D=3D=3D # of expected passes 56 # of unexpected failures 4 ``` I=E2=80=99ll investigate further to see what changed in the compiler=E2=80= =99s output. --=20 You are receiving this mail because: You are on the CC list for the bug.=