* config/i386/tm-i386aix.h, config/i386/tm-sun386.h,

config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW):  Fix typo.
	* config/i386/tm-symmetry.h:  Make comment inside #if 0 a real
	comment.
	* config/i386/tm-symmetry.h (STORE_STRUCT_RETURN):  Cast argument
	to write_memory to avoid warnings from gcc.
	* config/i386/xm-symmetry.h:  Add missing #endif.
	* config/i386/nm-symmetry.h (NO_PTRACE_H):  Add for Dynix.
	* config/i386/symmetry.mt (TDEPFILES):  Add i386-tdep.o.
	* config/i386/symmetry.mh (NAT_FILE, NATDEPFILES):  Add.
This commit is contained in:
Peter Schauer 1994-03-21 21:16:16 +00:00
parent 71c33ef7d4
commit 388f491940
7 changed files with 12 additions and 8 deletions

View File

@ -39,4 +39,5 @@ extern int child_wait PARAMS ((int, struct target_waitstatus *));
#define KERNEL_U_ADDR (VA_UAREA) /* ptx */
#else
#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) /* dynix */
#define NO_PTRACE_H
#endif

View File

@ -1,3 +1,5 @@
# Host: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387.
XDEPFILES= infptrace.o inftarg.o fork-child.o symm-nat.o
XDEPFILES=
XM_FILE= xm-symmetry.h
NAT_FILE= nm-symmetry.h
NATDEPFILES= exec.o inftarg.o fork-child.o coredep.o corelow.o symm-nat.o

View File

@ -1,3 +1,3 @@
# Target: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387.
TDEPFILES= symm-tdep.o i386-pinsn.o i387-tdep.o
TDEPFILES= i386-tdep.o symm-tdep.o i386-pinsn.o i387-tdep.o
TM_FILE= tm-symmetry.h

View File

@ -129,7 +129,7 @@ i387_to_double PARAMS ((char *, char *));
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
{ \
double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
double_to_i387((char *)&val, (TO))) \
double_to_i387((char *)&val, (TO)); \
}
extern void
double_to_i387 PARAMS ((char *, char *));

View File

@ -181,7 +181,7 @@ i387_to_double PARAMS ((char *, char *));
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
{ \
double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
double_to_i387((char *)&val, (TO))) \
double_to_i387((char *)&val, (TO)); \
}
extern void
double_to_i387 PARAMS ((char *, char *));

View File

@ -54,8 +54,8 @@ extern int ptx_coff_regno_to_gdb();
#define ABOUT_TO_RETURN(pc) (read_memory_integer (pc, 1) == 0xc9)
#if 0
--- this code can't be used unless we know we are running native,
since it uses host specific ptrace calls.
/* --- this code can't be used unless we know we are running native,
since it uses host specific ptrace calls. */
/* code for 80387 fpu. Functions are from i386-dep.c, copied into
* symm-dep.c.
*/
@ -409,7 +409,7 @@ i387_to_double PARAMS ((char *, char *));
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
{ \
double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
double_to_i387((char *)&val, (TO))) \
double_to_i387((char *)&val, (TO)); \
}
extern void
double_to_i387 PARAMS ((char *, char *));
@ -434,7 +434,7 @@ double_to_i387 PARAMS ((char *, char *));
#undef STORE_STRUCT_RETURN
#define STORE_STRUCT_RETURN(ADDR, SP) \
{ (SP) -= sizeof (ADDR); \
write_memory ((SP), &(ADDR), sizeof (ADDR)); \
write_memory ((SP), (char *) &(ADDR), sizeof (ADDR)); \
write_register(0, (ADDR)); }
/* Extract from an array REGBUF containing the (raw) register state

View File

@ -53,6 +53,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef _SEQUENT_
/* ptx does attach as of ptx version 2.1 */
#define ATTACH_DETACH 1
#endif
#define HOST_BYTE_ORDER LITTLE_ENDIAN