From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EAAE73809BC0; Thu, 6 Jun 2024 14:29:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EAAE73809BC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1717684198; bh=KoIOGU5JFfBKNSCgN9peZSPURZwxwELdHktD5B+Fm1k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gYyw5/BmOdUKJmImHsNY/D/YMnW1Uz4XsqfUuXZIyO1NXWIX2JUipVP0ZiC2KrrOF A8J/v1UrNjEeAFweMFm5BLdH10BvW9gM5UuG/HdK1JLqXJr1In9+mERm2YT0EovHRw P2Yqgs6wVPMdATv42IPjlNUFlUbxUL2ImnGN2lwM= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31849] Issue with Unexpected Behavior in GDB Stepping at Optimization Level O2 and O3 Date: Thu, 06 Jun 2024 14:29:58 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED 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=3D31849 --- Comment #3 from Tom Tromey --- You should probably attach your executable, since this is most likely compiler dependent. One suggestion is to examine the line table and see what it says. Often this kind of behavior ends up being gdb doing what the compiler said to do. --=20 You are receiving this mail because: You are on the CC list for the bug.=