What version of GDB is this? I am running linux so I am not using Soucery.

Regards,
 Ákos Vandra

On 17 July 2012 22:44, Jörg Fischer <[email protected]> wrote:
> Hi,
> Am 16.07.2012 16:58, schrieb Akos Vandra:
>
>> When stopping the debugger in a ISR on cortex-m3, the content of the
>> LR is 0xFFFFFFFx, so when the code branches to that address the return
>> from interrupt is done. However at the moment when gdb does not know
>> this, and tries to access the memory at this address, which casues the
>> mentioned errors. Maybe there should be a check for this address, or
>> something?
>
> The GDB shipped with Soucery G++ lite can work with ARMv7-M exceptions.
> It knows how to decode these special LR values.
> But you need to tell it that the MCU is ARMv7-M using the attached
> gdbtarget.xml file, using gdb command:
> "set tdesc filename gdbtarget.xml"
>
>
>
> -- J. Fischer
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to