Remove mt port

This patch removes the MT port.  The removal was annoucned
https://sourceware.org/ml/gdb-announce/2017/msg00006.html
I'll remove MT from the top-level configure later.

gdb:

2018-01-22  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
	* configure.tgt: Remove target mt.
	* mt-tdep.c: Remove.
	* regcache.c (cooked_read_test): Remove the check for mt.
This commit is contained in:
Yao Qi 2018-01-22 11:02:49 +00:00
parent 3f5a868b22
commit dc71152484
5 changed files with 10 additions and 1239 deletions

View File

@ -1,3 +1,10 @@
2018-01-22 Yao Qi <yao.qi@linaro.org>
* Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o.
* configure.tgt: Remove target mt.
* mt-tdep.c: Remove.
* regcache.c (cooked_read_test): Remove the check for mt.
2018-01-22 Yao Qi <yao.qi@linaro.org>
* jit.c (jit_frame_prev_register): Call regcache::cooked_read

View File

@ -733,7 +733,6 @@ ALL_TARGET_OBS = \
mn10300-tdep.o \
moxie-tdep.o \
msp430-tdep.o \
mt-tdep.o \
nbsd-tdep.o \
nds32-tdep.o \
nios2-linux-tdep.o \

View File

@ -29,6 +29,7 @@ case $targ in
hppa*-*-hpux* | \
ia64-*-hpux* | \
*-*-vxworks* | \
mt-*-* | \
null)
echo "*** Configuration $targ is obsolete." >&2
echo "*** Support has been REMOVED." >&2
@ -442,11 +443,6 @@ msp430*-*-elf)
gdb_sim=../sim/msp430/libsim.a
;;
mt-*-*)
# Target: Morpho Technologies ms1 processor
gdb_target_obs="mt-tdep.o"
;;
nds32*-*-elf)
# Target: AndesTech NDS32 core
gdb_target_obs="nds32-tdep.o"

File diff suppressed because it is too large Load Diff

View File

@ -1845,15 +1845,8 @@ cooked_read_test (struct gdbarch *gdbarch)
SELF_CHECK (REG_VALID == readwrite.cooked_read (regnum, buf.data ()));
if (gdbarch_bfd_arch_info (gdbarch)->arch != bfd_arch_mt)
{
/* MT pseudo registers are banked, and different banks are
selected by a raw registers, so GDB needs to write to
that raw register to get different banked pseudo registers.
See mt_select_coprocessor. */
SELF_CHECK (mock_target.fetch_registers_called == 0);
SELF_CHECK (mock_target.store_registers_called == 0);
}
SELF_CHECK (mock_target.fetch_registers_called == 0);
SELF_CHECK (mock_target.store_registers_called == 0);
/* Some SPU pseudo registers are got via TARGET_OBJECT_SPU. */
if (gdbarch_bfd_arch_info (gdbarch)->arch != bfd_arch_spu)
@ -1872,12 +1865,6 @@ cooked_read_test (struct gdbarch *gdbarch)
regnum < gdbarch_num_regs (gdbarch) + gdbarch_num_pseudo_regs (gdbarch);
regnum++)
{
if (gdbarch_bfd_arch_info (gdbarch)->arch == bfd_arch_mt)
{
/* Trigger an internal error otherwise. */
continue;
}
if (register_size (gdbarch, regnum) == 0)
continue;