Hello, Am 26.03.2012 15:52, schrieb Sébastien Di Mercurio: > About gdb support, do you think this will be possible. I have understand the > problem was a bit on > gdb side and a bit on the server side, but I 've not completly understood > everything.
There are one method to change the default gdb register set. You can use some special xml (target description) files that can be loaded from a file or received from a remote debugger. The main problem is the register set consistency between gdb and the remote debugger. Both should be always know about the current register set or something goes wrong. There is a patch in gerrit that add support for this xml files in the gdb server. The xml files are already at the list. But then we need a dynamic gdb register list in oocd and this is a little bit more work/complicated. > For the moment, in order to see corrects cortex-M3 registers in Eclipse, I > have wrote my own > Eclipse view that use "reg" command from oocd and not the equivalent one from > gdb. I have tried it with the xml files and a modified gdb register list. Regards, Mathias > > -------- Message original -------- > Sujet: Re: [OpenOCD-devel] Cortex-M4 FPU support > De : Mathias K. <[email protected]> > Pour : Sébastien Di Mercurio <[email protected]> > Date : 26/03/2012 15:26 >> Hello, >> >> there is almost working FP support in the queue (gerrit). It is also >> possible to add it to gdb but >> that's another story. >> >> >> Regards, >> >> Mathias >> >> Am 26.03.2012 12:58, schrieb Sébastien Di Mercurio: >>> Hi everybody, >>> >>> First of all, before sending this mail, I have search through the archives >>> of this mailing list. I have allso search through tickets in bug tracking, >>> but found nothing. >>> >>> I currently use openocd in developper release 0.6 and it seems that FPU >>> registers used in Cortex-M4 (FPv4-SP) devices are not supported (using >>> "reg" command). Mayby I have missed an importante command in the >>> documentation. >>> >>> I use a STM32F4-Discovery board, connect through ST-Link/V2 dongle on-board >>> and work on Windows 7 - 64 bits. My OpenOCD version is: >>> //Open On-Chip Debugger 0.6.0-dev-00448-gc59a441 (2012-02-29-17:10) >>> >>> Sebastien > > -- > INSA de Toulouse > *Sébastien DI MERCURIO* > Ingénieur d’étude - Systèmes embarqués > Département GEI - Bureau 108 > Tél. : +33 (0)5 61 55 98 34 > [email protected] <mailto:[email protected]> > > INSA de Toulouse > 135 avenue de Rangueil > 31077 Toulouse CEDEX 04 > www.insa-toulouse.fr <http://www.insa-toulouse.fr> > > Soutenez l'INSA de Toulouse avec la taxe d'apprentissage > <http://www.insa-toulouse.fr/fr/relations/taxe-d-apprentissage.html> > > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
