Update the list of recognized m-profile TAG_CPU_ARCH_*

Check 3 additional variants previously not recognized:

- TAG_CPU_ARCH_V7E_M
- TAG_CPU_ARCH_V8M_BASE
- TAG_CPU_ARCH_V8M_MAIN
This commit is contained in:
Luis Machado
2022-03-22 17:01:47 +00:00
parent 1740425885
commit 131a355fbc

View File

@ -9214,6 +9214,9 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
if (!tdesc_has_registers (tdesc)
&& (attr_arch == TAG_CPU_ARCH_V6_M
|| attr_arch == TAG_CPU_ARCH_V6S_M
|| attr_arch == TAG_CPU_ARCH_V7E_M
|| attr_arch == TAG_CPU_ARCH_V8M_BASE
|| attr_arch == TAG_CPU_ARCH_V8M_MAIN
|| attr_arch == TAG_CPU_ARCH_V8_1M_MAIN
|| attr_profile == 'M'))
is_m = true;