Hi all
I've been developing on the LPC43xx (largely 4350) family for a while with Segger j-Trace Pro (v6.30d), Eclipse (Neon), and GNU MCU Eclipse (gdb v8.0.50) but have never been able to get stack backtrace in irqs to work properly. We're using msp and psp stacks. It'll display junk for any stackframes before the irq, sometimes causing gdb to lose connection depending on the junk values it tries to process. I've spent some time trying to get this to work, or at least understand it. I've looked at the gdb sources and it looks like it should be handling (or at least not hanging) with this patch added a couple years ago. It looks like this patch uses gdb's "target description" xml to detect the processor and configure gdb correctly. Using Segger's gdb server logging I can see that it sends this xml file to the gdb client, but the client doesn't seem recognize that it is an "m-profile". Is the xml file formatted correctly for gdb to recognize it as an m-profile? Or, how do I get gdb to unwind msp and psp stacks in irq with j-Trace and LPC43xx?
I've been developing on the LPC43xx (largely 4350) family for a while with Segger j-Trace Pro (v6.30d), Eclipse (Neon), and GNU MCU Eclipse (gdb v8.0.50) but have never been able to get stack backtrace in irqs to work properly. We're using msp and psp stacks. It'll display junk for any stackframes before the irq, sometimes causing gdb to lose connection depending on the junk values it tries to process. I've spent some time trying to get this to work, or at least understand it. I've looked at the gdb sources and it looks like it should be handling (or at least not hanging) with this patch added a couple years ago. It looks like this patch uses gdb's "target description" xml to detect the processor and configure gdb correctly. Using Segger's gdb server logging I can see that it sends this xml file to the gdb client, but the client doesn't seem recognize that it is an "m-profile". Is the xml file formatted correctly for gdb to recognize it as an m-profile? Or, how do I get gdb to unwind msp and psp stacks in irq with j-Trace and LPC43xx?