> If that enumeration is defined by GDB protocol, it should not be placed > in target.h - doing so is a layering violation which leads to errors > just like this one.
It isn't. What happens in gdb_server.c is that there is a switch statement to convert from GDB enum to OpenOCD enum. This is a clean(as it gets) way to do things. The gdb_server.c code could be prettier, but I was looking for a robust spotweld at this point. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development