Duane,

> 
> There must be some magic incarnation that I do not know. 
> Perhaps a special thing on the GDB side? Or something?
> 
> In GDB - the disassembly window shows invalid instructions - 
> etc, step etc - does not work.
> 

There are as such two versions of gdb - mainline and codesoucery.
Support for the arm v7 arch is in codesoucery version - but you will still
have to tell it that you need v7 support using a target.xml file (from
qXfer:features:read request).

If you need more details on this let me know, currently openocd does not
send this info.
I am working on a patch, never got time to fully finish it.

openocd contains a few hacks (define ARMV7_GDB_HACKS in armv7m.h) that makes
mainline
gdb behave better with the v7 arch.

I have had no issues with debugging using mainline gdb - but as you have
seen disassembly
will not work correctly.

Could you give more details on your setup, as i have had no problems with
stm32 debugging using gdb/insight, even eclipse.

Cheers
Spen

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

Reply via email to