From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 714ED3857832; Thu, 4 Mar 2021 01:15:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 714ED3857832 From: "egarcia.charger at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/27509] New: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' Date: Thu, 04 Mar 2021 01:15:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egarcia.charger 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: Thu, 04 Mar 2021 01:15:48 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27509 Bug ID: 27509 Summary: ARM Cortex-M7: Setting breakpoint and stepping through causes internal error at function 'finish_step_over' Product: gdb Version: 10.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: egarcia.charger at gmail dot com Target Milestone: --- Here is my setup: J-LINK Plus -> Cortex-M7 (STM32H750).=20 GDB: GNU gdb (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.1.90.20201028= -git RTOS: ChibiOS JLinkGDBServer: JLinkARM.dll V6.90a (DLL compiled Dec 14 2020 17:13:26) Error:=20 [New Remote target] /tmp/jenkins-GCC-10-pipeline-48_20201124_1606180639/src/gdb/gdb/infrun.c:56= 90: internal-error: int finish_step_over(struct execution_control_state *): Assertion `ecs->event_thread->control.trap_expected' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Steps: 1. Launch JLinkGDBServer with the flag `-rtos GDBServer/RTOSPlugin_ChibiOS`= to enable thread awareness. 2. Set breakpoint in code. 3. Program code then run to breakpoint. 4. Step through code. 5. Error occurs. Temporary Workaround: Disable thread awareness when launching JLinkGDBServer (definitely not ideal since thread awareness is very useful). I tried this on v9.2 and v10.1 of GDB and both have the same error, just at different line numbers. Is there anymore information I can provide to help = you fix this issue? It makes debugging extremely unusable. Thank you. --=20 You are receiving this mail because: You are on the CC list for the bug.=