aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-05-11 09:25:30 +0930
committerAlan Modra <amodra@gmail.com>2020-05-11 21:08:36 +0930
commit6bbb0c0595660e6bc7477126a5b1adaf5387d006 (patch)
treec23dd9ee698144d5a5bcc7e55c990ad3997f3f28
parent7c1f42273567c30e17e1363897ce5c6d0764c643 (diff)
downloadgdb-6bbb0c0595660e6bc7477126a5b1adaf5387d006.zip
gdb-6bbb0c0595660e6bc7477126a5b1adaf5387d006.tar.gz
gdb-6bbb0c0595660e6bc7477126a5b1adaf5387d006.tar.bz2
PowerPC Default disassembler to -Mpower10
* ppc-dis.c (powerpc_init_dialect): Default to "power10".
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e9975d3..25735b7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2020-05-11 Alan Modra <amodra@gmail.com>
+ * ppc-dis.c (powerpc_init_dialect): Default to "power10".
+
+2020-05-11 Alan Modra <amodra@gmail.com>
+
* ppc-dis.c (ppc_opts): Add "power10" entry.
(print_insn_powerpc): Update for PPC_OPCODE_POWER10 renaming.
* ppc-opc.c (POWER10): Rename from POWERXX. Update all uses.
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 1c341b2..28212ff 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -359,7 +359,7 @@ powerpc_init_dialect (struct disassemble_info *info)
break;
default:
if (info->arch == bfd_arch_powerpc)
- dialect = ppc_parse_cpu (dialect, &sticky, "power9") | PPC_OPCODE_ANY;
+ dialect = ppc_parse_cpu (dialect, &sticky, "power10") | PPC_OPCODE_ANY;
else
dialect = ppc_parse_cpu (dialect, &sticky, "pwr");
break;