From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C7FB3858C60; Mon, 20 Dec 2021 16:20:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C7FB3858C60 From: "qwertytmp1 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/28717] New: GDB steps twice on a single stepi Date: Mon, 20 Dec 2021 16:20:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: qwertytmp1 at gmail dot com 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: 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 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: Mon, 20 Dec 2021 16:20:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28717 Bug ID: 28717 Summary: GDB steps twice on a single stepi Product: gdb Version: 11.1 Status: UNCONFIRMED Severity: critical Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: qwertytmp1 at gmail dot com Target Milestone: --- On ARM/aarch64 platform, when executing command: ``` stepi ``` address increases by 8 bytes, instead of 4. When I printed packets, received from the DGB client, I've found that it consists of strange workflow: ``` 'm1e2f8,4' - read 4 bytes memory at 0x1e2f8 'vCont?' - request a list of actions supported by the =E2=80=98vCont= =E2=80=99 packet. 'vCont;s:1;c' - resume the inferior, singlestep, continue. 'g' - return the value of the CPU registers 'm1e2fc,4' - read 4 bytes memory at 0x1e2fc 'vCont;s:1' - resume the inferior, singlestep. 'g' - return the value of the CPU registers ... ``` As it can be seen, we have 'vCont;s:1;c' and 'vCont;s:1'. P.S. Problem exists as on gdb-9.1 as on the gdb-11.1. --=20 You are receiving this mail because: You are on the CC list for the bug.=