diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-21 21:16:16 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-03-21 21:16:16 +0000 |
commit | 388f491940ec5b664dbd9ab3afd1cf4b94db9adb (patch) | |
tree | 98ffd17a835c1117cec7d116bf8d0754de31372e /gdb | |
parent | 71c33ef7d4b297c9e1b11062d30d9c259fd0cb80 (diff) | |
download | gdb-388f491940ec5b664dbd9ab3afd1cf4b94db9adb.zip gdb-388f491940ec5b664dbd9ab3afd1cf4b94db9adb.tar.gz gdb-388f491940ec5b664dbd9ab3afd1cf4b94db9adb.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/i386/nm-symmetry.h | 1 | ||||
-rw-r--r-- | gdb/config/i386/symmetry.mh | 4 | ||||
-rw-r--r-- | gdb/config/i386/symmetry.mt | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-i386aix.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-sun386.h | 2 | ||||
-rw-r--r-- | gdb/config/i386/tm-symmetry.h | 8 | ||||
-rw-r--r-- | gdb/config/i386/xm-symmetry.h | 1 |
7 files changed, 12 insertions, 8 deletions
diff --git a/gdb/config/i386/nm-symmetry.h b/gdb/config/i386/nm-symmetry.h index a0531e2..3c1161c 100644 --- a/gdb/config/i386/nm-symmetry.h +++ b/gdb/config/i386/nm-symmetry.h @@ -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 diff --git a/gdb/config/i386/symmetry.mh b/gdb/config/i386/symmetry.mh index a6e0911..e0fd1d9 100644 --- a/gdb/config/i386/symmetry.mh +++ b/gdb/config/i386/symmetry.mh @@ -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 diff --git a/gdb/config/i386/symmetry.mt b/gdb/config/i386/symmetry.mt index dd7c790..09ab75b 100644 --- a/gdb/config/i386/symmetry.mt +++ b/gdb/config/i386/symmetry.mt @@ -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 diff --git a/gdb/config/i386/tm-i386aix.h b/gdb/config/i386/tm-i386aix.h index 7847874..87d49fb 100644 --- a/gdb/config/i386/tm-i386aix.h +++ b/gdb/config/i386/tm-i386aix.h @@ -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 *)); diff --git a/gdb/config/i386/tm-sun386.h b/gdb/config/i386/tm-sun386.h index 20819ce..a34305a 100644 --- a/gdb/config/i386/tm-sun386.h +++ b/gdb/config/i386/tm-sun386.h @@ -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 *)); diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h index 2bdf268..34e03b1 100644 --- a/gdb/config/i386/tm-symmetry.h +++ b/gdb/config/i386/tm-symmetry.h @@ -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 diff --git a/gdb/config/i386/xm-symmetry.h b/gdb/config/i386/xm-symmetry.h index d18d40b..1d0d42d 100644 --- a/gdb/config/i386/xm-symmetry.h +++ b/gdb/config/i386/xm-symmetry.h @@ -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 |