From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E6C43858CDB; Tue, 31 Jan 2023 10:51:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E6C43858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675162300; bh=OCyAUyiQrVTOF8SprebiXuINY54n5gPAIkJnc5EZmFA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hi+r4QF/wG4Q79qSx73iRPNq71a+MHEYUTeNe2jHGz2dXqfGT+EW477MUzo3rx7kB WbXZxHDBjfhWyRdAVlnm8rnif7RLlvly9O1aTdAHt6A3Ub9V1fzZNhp9e8b16ynkxQ 9ZhPJ8LvNKaqXe+ModGwAOl2b7nTHfbdw3WFzQ+w= From: "kristof.mulier at telenet dot be" To: gdb-prs@sourceware.org Subject: [Bug gdb/21221] gdb hangs while stepping an empty loop Date: Tue, 31 Jan 2023 10:51:39 +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: kristof.mulier at telenet dot be X-Bugzilla-Status: ASSIGNED 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=3D21221 --- Comment #16 from kristof mulier --- Hi @Luis, Thanks for your quick reply! We have this problem with GCC, that's what we are using. Here is an example= of the loop code: void delay_1ms(uint32_t count) { delay =3D count; while(0U !=3D delay){ } // <- this loop causes the problem } --=20 You are receiving this mail because: You are on the CC list for the bug.=