From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C732C3858D1E; Sun, 31 Dec 2023 05:15:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C732C3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703999759; bh=caJByHgejWGnbFuKuxSMaSdfP/lMsEz5UIdxXpaHLvg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dWX4sLmd98uva2nRX81JGoVoGCOskPxPCykF2n551yUrAdgLwsJhecOUMPZcDxZZz gIkX2wg3b5s5DwDNxX02G/9HcCxVCNeVH4ZBf/nXAlNEyM3R5k48//pw8myXgNtc32 fC0xmsGmMz4uPUMJ6HJdrpNxKz90deQyzANrtlM8= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31194] Stepping on "int3" instruction fails assertion. Date: Sun, 31 Dec 2023 05:15:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb 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: 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=3D31194 --- Comment #8 from Tom de Vries --- (In reply to Tom Tromey from comment #6) > (In reply to Tom de Vries from comment #5) >=20 > > I managed to reproduce, also on openSUSE Leap 15.4, not with system gcc= 7, > > but with gcc 8 and later. >=20 > I wonder what's different for gcc 7. > Perhaps the line table would be informative. The difference is that for gcc 7, start stops at line 4 instead of 5, which= I failed to notice. With an extra step, I also manage to trigger the asserti= on failure with gcc 7. FWIW, line table gcc 7: ... INDEX LINE REL-ADDRESS UNREL-ADDRESS IS-STMT PROLOGUE-END=20 0 4 0x0000000000400430 0x0000000000400430 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1 5 0x0000000000400431 0x0000000000400431 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 2 6 0x0000000000400432 0x0000000000400432 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 3 8 0x0000000000400434 0x0000000000400434 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 4 6 0x000000000040043d 0x000000000040043d Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 5 8 0x0000000000400440 0x0000000000400440 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6 6 0x0000000000400445 0x0000000000400445 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 7 10 0x000000000040044a 0x000000000040044a Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 8 END 0x000000000040044e 0x000000000040044e Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ... and line table gcc 8: ... INDEX LINE REL-ADDRESS UNREL-ADDRESS IS-STMT PROLOGUE-END=20 0 4 0x0000000000400430 0x0000000000400430 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 1 5 0x0000000000400430 0x0000000000400430 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 2 4 0x0000000000400430 0x0000000000400430=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 3 5 0x0000000000400431 0x0000000000400431=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 4 6 0x0000000000400432 0x0000000000400432 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 5 6 0x0000000000400432 0x0000000000400432 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 6 6 0x0000000000400432 0x0000000000400432=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 7 8 0x0000000000400434 0x0000000000400434 Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 8 6 0x000000000040043d 0x000000000040043d=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 9 8 0x0000000000400440 0x0000000000400440=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 10 6 0x0000000000400445 0x0000000000400445=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 11 10 0x000000000040044a 0x000000000040044a=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 12 10 0x000000000040044d 0x000000000040044d=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 13 END 0x000000000040044e 0x000000000040044e Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=