diff options
author | Tom Tromey <tromey@adacore.com> | 2023-03-16 07:48:22 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-16 09:50:06 -0600 |
commit | 5a9affd7b875ac183a66ce41f3f226819f0790ed (patch) | |
tree | f79bbef94a55d18b365376a2bdc587c57b277e2f | |
parent | 74975df62cf0c02cb8651b64ca5c36a131b307b3 (diff) | |
download | binutils-5a9affd7b875ac183a66ce41f3f226819f0790ed.zip binutils-5a9affd7b875ac183a66ce41f3f226819f0790ed.tar.gz binutils-5a9affd7b875ac183a66ce41f3f226819f0790ed.tar.bz2 |
Fix build breakage in rs6000-aix-tdep.c
A recent change to rs6000-aix-tdep.c broke the build. This patch
fixes it by declaring a few target descriptions in ppc-tdep.h and then
not including the various features .c files in rs6000-aix-tdep.c.
-rw-r--r-- | gdb/ppc-tdep.h | 6 | ||||
-rw-r--r-- | gdb/rs6000-aix-tdep.c | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index fe41bae..db4e532 100644 --- a/gdb/ppc-tdep.h +++ b/gdb/ppc-tdep.h @@ -450,4 +450,10 @@ struct ppc_inferior_data extern ppc_inferior_data * get_ppc_per_inferior (inferior *inf); +extern const struct target_desc *tdesc_powerpc_vsx64l; +extern const struct target_desc *tdesc_powerpc_vsx64; +extern const struct target_desc *tdesc_powerpc_vsx32; +extern const struct target_desc *tdesc_powerpc_altivec64; +extern const struct target_desc *tdesc_powerpc_altivec32; + #endif /* ppc-tdep.h */ diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c index c56e5a3..d4a7b22 100644 --- a/gdb/rs6000-aix-tdep.c +++ b/gdb/rs6000-aix-tdep.c @@ -40,11 +40,6 @@ #include "trad-frame.h" #include "frame-unwind.h" -#include "features/rs6000/powerpc-altivec32.c" -#include "features/rs6000/powerpc-vsx32.c" -#include "features/rs6000/powerpc-altivec64.c" -#include "features/rs6000/powerpc-vsx64.c" - /* If the kernel has to deliver a signal, it pushes a sigcontext structure on the stack and then calls the signal handler, passing the address of the sigcontext in an argument register. Usually |