diff options
author | Pedro Alves <palves@redhat.com> | 2013-05-29 09:18:48 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-05-29 09:18:48 +0000 |
commit | 6ac1c0821eba976e2fc85ebad462297da6044d6e (patch) | |
tree | e9c0e3cac44a09f39247ac075439e4dd31183f3b /gdb/aarch64-tdep.c | |
parent | fe59e83d6f638b5ab03e27eddbd7ebbbdad431ec (diff) | |
download | gdb-6ac1c0821eba976e2fc85ebad462297da6044d6e.zip gdb-6ac1c0821eba976e2fc85ebad462297da6044d6e.tar.gz gdb-6ac1c0821eba976e2fc85ebad462297da6044d6e.tar.bz2 |
[AArch64] Remove all traces of aarch64-without-fpu.xml.
The aarch64-without-fpu description is unused.
Linux requires an FPU, so the AArch64 native port always returns the
with-fpu variant:
static const struct target_desc *
aarch64_linux_read_description (struct target_ops *ops)
{
initialize_tdesc_aarch64 ();
return tdesc_aarch64;
}
When the target doesn't report a target description at all, we
fallback to a register set with an FPU:
aarch64_gdbarch_init ()
...
if (!tdesc_has_registers (tdesc))
tdesc = tdesc_aarch64;
This just removes the dead description.
Tested by building on x86_64 Fedora 17 with --enable=targets=all.
gdb/
2013-05-29 Pedro Alves <palves@redhat.com>
* aarch64-tdep.c: Don't include "features/aarch64-without-fpu.c".
(_initialize_aarch64_tdep): Don't call
initialize_tdesc_aarch64_without_fpu.
* features/Makefile (WHICH): Remove reference to
aarch64-without-fpu.
* features/aarch64-without-fpu.c: Delete file.
* regformats/aarch64-without-fpu.dat: Delete file.
Diffstat (limited to 'gdb/aarch64-tdep.c')
-rw-r--r-- | gdb/aarch64-tdep.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 8c38ef3..2d74429 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -53,7 +53,6 @@ #include "vec.h" #include "features/aarch64.c" -#include "features/aarch64-without-fpu.c" /* Pseudo register base numbers. */ #define AARCH64_Q0_REGNUM 0 @@ -2718,7 +2717,6 @@ _initialize_aarch64_tdep (void) aarch64_dump_tdep); initialize_tdesc_aarch64 (); - initialize_tdesc_aarch64_without_fpu (); /* Debug this file's internals. */ add_setshow_boolean_cmd ("aarch64", class_maintenance, &aarch64_debug, _("\ |