[Bug tdep/31681] [powerpc] presence of SPE disables VLE instruction decoding
tromey at sourceware dot org
sourceware-bugzilla@sourceware.org
Wed Apr 24 19:37:53 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31681
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
AdaCore has had this patch for ages; I'm not sure why it
was apparently never submitted. Can you try it?
(I don't know if this will help you or not, I just
saw "VLE" and remembered that this existed.)
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 67c7a361259..2086e2f3e77 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -3241,6 +3241,8 @@ static struct variant variants[] =
{
{"powerpc", "PowerPC user-level", bfd_arch_powerpc,
bfd_mach_ppc, &tdesc_powerpc_altivec32},
+ {"powerpc", "PowerPC user-level (VLE)", bfd_arch_powerpc,
+ bfd_mach_ppc_vle, &tdesc_powerpc_altivec32},
{"power", "POWER user-level", bfd_arch_rs6000,
bfd_mach_rs6k, &tdesc_rs6000},
{"403", "IBM PowerPC 403", bfd_arch_powerpc,
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list