zephyrproject-rtos / openocd

OpenOCD with Zephyr patches for building Zephyr SDK
Other
28 stars 45 forks source link

gdb-server: Create arch-specific structure type for every feature #9

Closed abrodkin closed 5 years ago

abrodkin commented 5 years ago

This change was reviewed upstream here http://openocd.zylin.com/#/c/5179/ and currently is awaiting for being merged.

As it is mentioned here [1] type's ID is unique name within containing feature.

That said if regs of the same type located in different features it's required to insert type definition at least in each feature.

See more details in discussion here [2].

[1] https://sourceware.org/gdb/onlinedocs/gdb/Target-Description-Format.html#Types [2] https://github.com/foss-for-synopsys-dwc-arc-processors/openocd/commit/2a5f5125ac8fa0e1359b6be03b209f9f5d1ade82#r33460077