Remove features/tic6x-*.c files

features/*.c are generated from *.xml files, in order to get pre-defined
target descriptions, (for native debugging, for example).  However, these
pre-generated tdesc_tic6x_* are not used in GDB at all.  This patch removes
features/tic6x-*.c files.

gdb:

2017-10-16  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile (XMLTOC): Remove tic6x-*.xml.
	* features/tic6x-c62x.c: Remove.
	* features/tic6x-c64x-linux.c: Remove.
	* features/tic6x-c64x.c: Remove.
	* features/tic6x-c64xp-linux.c: Remove.
	* features/tic6x-c64xp.c: Remove.
	* tic6x-linux-tdep.c (_initialize_tic6x_linux_tdep): Don't call
	initialize_tdesc_tic6x_*_linux functions.
	* tic6x-tdep.c (_initialize_tic6x_tdep): Don't call
	initialize_tdesc_tic6x_* functions.
This commit is contained in:
Yao Qi 2017-10-16 09:27:43 +01:00
parent df27ae6a09
commit c40c7bfcf1
9 changed files with 14 additions and 443 deletions

View file

@ -49,10 +49,6 @@
#include "target-descriptions.h"
#include <algorithm>
#include "features/tic6x-c64xp.c"
#include "features/tic6x-c64x.c"
#include "features/tic6x-c62x.c"
#define TIC6X_OPCODE_SIZE 4
#define TIC6X_FETCH_PACKET_SIZE 32
@ -1339,8 +1335,4 @@ void
_initialize_tic6x_tdep (void)
{
register_gdbarch_init (bfd_arch_tic6x, tic6x_gdbarch_init);
initialize_tdesc_tic6x_c64xp ();
initialize_tdesc_tic6x_c64x ();
initialize_tdesc_tic6x_c62x ();
}