From: Luis Machado Date: Tue, 22 Mar 2022 17:01:47 +0000 (+0000) Subject: Update the list of recognized m-profile TAG_CPU_ARCH_* X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=131a355fbca43e4e4ab2a3bfcbc17e0836fa8dc2;p=binutils-gdb.git 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 --- diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 8e245648f23..d216d1daff7 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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;