From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C85E13857C7B; Fri, 30 Oct 2020 16:11:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C85E13857C7B From: "jmatyas at codasip dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/26819] New: internal-error: int finish_step_over(execution_control_state*): Assertion Date: Fri, 30 Oct 2020 16:11:49 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jmatyas at codasip 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 attachments.created 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: Fri, 30 Oct 2020 16:11:49 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26819 Bug ID: 26819 Summary: internal-error: int finish_step_over(execution_control_state*): Assertion Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: jmatyas at codasip dot com Target Milestone: --- Created attachment 12935 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12935&action=3Ded= it All information needed to reproduce the issue Dear GDB developers, when debugging a remote RISC-V target, I have run into the following assert= ion: ../../binutils-gdb/gdb/infrun.c:5692: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Step-by-step instructions how to reproduce it are attached, and the scenario utilizes:=20 - Spike RISC-V ISA simulator as the actual target - OpenOCD as the gdb server Background: The actual scenario has been encountered when running this automated RISC-V debugger test suite (https://github.com/riscv/riscv-tests/tree/master/debug) but has been isola= ted and instructions written up how to re-create the scenario manually via seve= ral simple steps (see the attached .txt file). Attached is also information about the environment in which I encountered t= his problem. If there are more useful details that I could provide, please do let me kno= w. Kind regards, Jan --=20 You are receiving this mail because: You are on the CC list for the bug.=