diff options
author | Luis Machado <luis.machado@arm.com> | 2022-03-22 17:01:47 +0000 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2022-03-23 10:54:18 +0000 |
commit | 131a355fbca43e4e4ab2a3bfcbc17e0836fa8dc2 (patch) | |
tree | 65f7d60e7f4c9f42db379513961b92eb06e5e7c7 /gdb/arm-tdep.c | |
parent | 17404258855da21324ab01e01cd650573c7ba22c (diff) | |
download | gdb-131a355fbca43e4e4ab2a3bfcbc17e0836fa8dc2.zip gdb-131a355fbca43e4e4ab2a3bfcbc17e0836fa8dc2.tar.gz gdb-131a355fbca43e4e4ab2a3bfcbc17e0836fa8dc2.tar.bz2 |
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
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 8e24564..d216d1d 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; |