Hi, I tried installing the newest gdb, 7.4, but it does not help. It does need the XML file you provided to work though, but it still tries to read from address 0xFFFFFFFx, and versaloon fails there.
Regards, Ákos Vandra On 18 July 2012 00:09, Andreas Fritiofson <[email protected]> wrote: > On Tue, Jul 17, 2012 at 10:44 PM, 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" > > Great, thanks! > > I assume this is the type of XML description that has been discussed > on the list earlier, that OpenOCD could provide to GDB when queried? > It doesn't seem too hard to generate. Is it the feature name that > triggers GDB to special case exception-lr? How flexible is this > specification? Can we throw any register order and naming at it or > does it have to be exactly like this? > > Why isn't lr code_ptr by the way? > > /Andreas > > ------------------------------------------------------------------------------ > 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
