From: Pedro Alves Date: Tue, 28 May 2013 10:41:17 +0000 (+0000) Subject: [GDBserver][AArch64] Remove references to aarch64-without-fpu.xml. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b25f2d30c0ae6d59e4841da468d651d689d5d57;p=binutils-gdb.git [GDBserver][AArch64] Remove references to aarch64-without-fpu.xml. The GDBserver Aarch64 port includes the aarch64-without-fpu description in the build, but doesn't actually use it anywhere. As Linux always requires an FPU, just remove the dead code. gdb/gdbserver/ 2013-05-28 Pedro Alves * Makefile.in (clean): Remove reference to aarch64-without-fpu.c. (aarch64-without-fpu.c): Delete rule. * configure.srv (aarch64*-*-linux*): Remove references to aarch64-without-fpu.o and aarch64-without-fpu.xml. * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove declaration. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index f050bfa4033..bbdac13fc6e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,12 @@ +2013-05-28 Pedro Alves + + * Makefile.in (clean): Remove reference to aarch64-without-fpu.c. + (aarch64-without-fpu.c): Delete rule. + * configure.srv (aarch64*-*-linux*): Remove references to + aarch64-without-fpu.o and aarch64-without-fpu.xml. + * linux-aarch64-low.c (init_registers_aarch64_without_fpu): Remove + declaration. + 2013-05-24 Pedro Alves * server.c (handle_v_cont) : Use unpack_varlen_hex diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 9b1771f8b6f..c7ff4c6727a 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -316,7 +316,7 @@ clean: rm -f version.c rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log rm -f $(IPA_LIB) - rm -f aarch64.c aarch64-without-fpu.c + rm -f aarch64.c rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c @@ -569,8 +569,6 @@ win32_low_h = $(srcdir)/win32-low.h aarch64.c : $(srcdir)/../regformats/aarch64.dat $(regdat_sh) $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64.dat aarch64.c -aarch64-without-fpu.c : $(srcdir)/../regformats/aarch64-without-fpu.dat $(regdat_sh) - $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64-without-fpu.dat aarch64-without-fpu.c reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh) diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv index 9344b172bd5..879d0de5362 100644 --- a/gdb/gdbserver/configure.srv +++ b/gdb/gdbserver/configure.srv @@ -43,7 +43,7 @@ srv_amd64_linux_xmlfiles="i386/amd64-linux.xml i386/amd64-avx-linux.xml i386/64b case "${target}" in aarch64*-*-linux*) - srv_regobj="aarch64.o aarch64-without-fpu.o" + srv_regobj="aarch64.o" srv_tgtobj="linux-aarch64-low.o" srv_tgtobj="${srv_tgtobj} linux-low.o" srv_tgtobj="${srv_tgtobj} linux-osdata.o" @@ -52,7 +52,6 @@ case "${target}" in srv_xmlfiles="aarch64.xml" srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml" srv_xmlfiles="${srv_xmlfiles} aarch64-fpu.xml" - srv_xmlfiles="${srv_xmlfiles} aarch64-without-fpu.xml" srv_linux_usrregs=yes srv_linux_regsets=yes srv_linux_thread_db=yes diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index 9dcfc55faa4..cdf9cfd1e99 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -33,9 +33,6 @@ /* Defined in auto-generated files. */ void init_registers_aarch64 (void); -/* Defined in auto-generated files. */ -void init_registers_aarch64_without_fpu (void); - #ifdef HAVE_SYS_REG_H #include #endif