Re: [PATCH v5 1/4] arc: Add ARCv2 XML target along with refactoring

Simon Marchi
2020-08-04T13:08:47Z

On 2020-08-04 4:57 a.m., Shahab Vahedi wrote:
> diff --git a/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml b/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml
> index 09689b8a44b..0ae2190c511 100644
> --- a/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml
> +++ b/gdb/testsuite/gdb.arch/arc-tdesc-cpu.xml
> @@ -9,7 +9,7 @@
> <target>
> <architecture>arc:HS</architecture>
>
> - <feature name="org.gnu.gdb.arc.core.v2">
> + <feature name="org.gnu.gdb.arc.core">
> <reg name="r0" bitsize="32"/>
> <reg name="r1" bitsize="32"/>
> <reg name="r2" bitsize="32"/>
> @@ -46,7 +46,7 @@
> <reg name="pcl" bitsize="32"/>
> </feature>
>
> - <feature name="org.gnu.gdb.arc.aux-minimal">
> + <feature name="org.gnu.gdb.arc.aux">
> <reg name="pc" bitsize="32"/>
> <reg name="status32" bitsize="32"/>
> </feature>

Does that cause backwards compatibility issues? Could someone have written a gdb stub
returning an XML target description containing the old feature names, which will now not
work due to these name changes?

Simon