* remote-mips.c: New file; implements MIPS remote debugging

protocol.
	* config/idt.mt: New file; uses remote-mips.c
	* configure.in (mips-idt-ecoff): New target; uses idt.mt.

	* mips-tdep.c (mips_fpu): New variable; controls use of MIPS
	floating point coprocessor.
	(mips_push_dummy_frame): If not mips_fpu, don't save floating
	point registers.
	(mips_pop_frame): If not mips_fpu, don't restore floating point
	registers.
	(_initialize_mips_tdep): New function; let the user reset mips_fpu
	variable.
	* tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): If not
	mips_fpu, don't use fp0 as floating point return register.
	(FIX_CALL_DUMMY): If not mips_fpu, don't save floating point
	registers.

Also added remote-mips.c to .Sanitize file.
This commit is contained in:
Ian Lance Taylor
1993-02-22 23:43:03 +00:00
parent 20f10b59ff
commit c2a0f1cb8e
8 changed files with 260 additions and 55 deletions

View File

@ -66,6 +66,7 @@ i386v.mt
i386v32.mh
i386v4.mh
i386v4.mt
idt.mt
irix3.mh
irix3.mt
irix4.mh

3
gdb/config/idt.mt Normal file
View File

@ -0,0 +1,3 @@
# Target: Big-endian IDT board.
TDEPFILES= mips-pinsn.o mips-tdep.o exec.o remote-mips.o
TM_FILE= tm-bigmips.h