On Tuesday 21 July 2009, Spencer Oliver wrote:
> committed r2554 - nice work
>
> Slight change of topic but one thing i have been meaning to get fully
> working is the gdb qXfer:features:read packet - currently unused in openocd.
> 
> It enables us to tell gdb that we are a cortex_m3 by sending the
> org.gnu.gdb.arm.core-v7m feature for example. It offers many other
> things such as we can add new registers to gdb.
> 
> Codesourcery use it quite a bit in their tools. One stumbling block with
> openocd is that the registers as such are hardcoded - this would have to 
> change.
> 
> Have you ever looked into this?

No; I looked at the GDB stuff just enough to understand why
seemingly nonsensical floating point registers exist.  :)

CM3 might be a good place to start using it though.  It's
small, and of growing importance.

I thought I saw some hard-wired "this is an ARM GDB server"
logic though ... that's somewhat related.  The AVR8 and PI32
support wouldn't play well with that.

- Dave

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to