GDB crash during ARM context switch

Bug #1789187 reported by Kochise on 2018-08-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain

Bug Description

STM32L476, Cortex-M4 + FPU
Visual Studio 2017 15.8.1 + VisualGDB 5.4.2400 + JLink 6.34c (J-Trace Pro Cortex)

When in optimization level 0, context switch using BX LR works during debug, stepping in goes into the target thread after a little while. In anything but optimization level 0, GDB fails.

Cheers, David KOCH

Kochise (david-koch) wrote :


Could you create a bugzilla ticket with a minimal binary to reproduce the issue along with the steps to reproduce it? The steps should only involve gdb otherwise people might not be able to reproduce it.


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments