projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1740425
)
Update the list of recognized m-profile TAG_CPU_ARCH_*
author
Luis Machado
<luis.machado@arm.com>
Tue, 22 Mar 2022 17:01:47 +0000
(17:01 +0000)
committer
Luis Machado
<luis.machado@arm.com>
Wed, 23 Mar 2022 10:54:18 +0000
(10:54 +0000)
Check 3 additional variants previously not recognized:
- TAG_CPU_ARCH_V7E_M
- TAG_CPU_ARCH_V8M_BASE
- TAG_CPU_ARCH_V8M_MAIN
gdb/arm-tdep.c
patch
|
blob
|
history
diff --git
a/gdb/arm-tdep.c
b/gdb/arm-tdep.c
index 8e245648f2392d630a863e7f10e5790dc7160ac5..d216d1daff7959723f4cdda593de0e210c3e9cae 100644
(file)
--- 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;