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/config/i386/tm-symmetry.h | |
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/config/i386/tm-symmetry.h')
-rw-r--r-- | gdb/config/i386/tm-symmetry.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |