aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-amd64-ipa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-amd64-ipa.c')
-rw-r--r--gdb/gdbserver/linux-amd64-ipa.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/gdbserver/linux-amd64-ipa.c b/gdb/gdbserver/linux-amd64-ipa.c
index 3dd1c32..3d105f9 100644
--- a/gdb/gdbserver/linux-amd64-ipa.c
+++ b/gdb/gdbserver/linux-amd64-ipa.c
@@ -197,8 +197,12 @@ get_ipa_tdesc (int idx)
return tdesc_amd64_mpx_linux;
case X86_TDESC_AVX_MPX:
return tdesc_amd64_avx_mpx_linux;
- case X86_TDESC_AVX512:
- return tdesc_amd64_avx512_linux;
+ case X86_TDESC_AVX_MPX_AVX512:
+ return tdesc_amd64_avx_mpx_avx512_linux;
+ default:
+ internal_error (__FILE__, __LINE__,
+ "unknown ipa tdesc index: %d", idx);
+ return tdesc_amd64_linux;
}
#endif
@@ -278,7 +282,6 @@ initialize_low_tracepoint (void)
init_registers_amd64_linux ();
init_registers_amd64_avx_linux ();
init_registers_amd64_avx_mpx_linux ();
- init_registers_amd64_mpx_linux ();
- init_registers_amd64_avx512_linux ();
+ init_registers_amd64_avx_mpx_avx512_linux ();
#endif
}