diff options
author | John Gilmore <gnu@cygnus> | 1991-08-22 01:42:18 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-08-22 01:42:18 +0000 |
commit | 9fa283782e3deddc1801ce554562318953279f0c (patch) | |
tree | 2c5a7f93af21fdc11bb4a0fd30c07af44ec8040e /gdb/tm-68k.h | |
parent | a7f538ebd1c93a63a466170d6cccf8fdc48b50d1 (diff) | |
download | gdb-9fa283782e3deddc1801ce554562318953279f0c.zip gdb-9fa283782e3deddc1801ce554562318953279f0c.tar.gz gdb-9fa283782e3deddc1801ce554562318953279f0c.tar.bz2 |
HP 300 BSD port for machines at FSF. Also minor mips change.
Diffstat (limited to 'gdb/tm-68k.h')
-rw-r--r-- | gdb/tm-68k.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tm-68k.h b/gdb/tm-68k.h index 3afbdf2..ee471c0 100644 --- a/gdb/tm-68k.h +++ b/gdb/tm-68k.h @@ -149,7 +149,7 @@ read_memory_integer (read_register (SP_REGNUM), 4) /* Put the declaration out here because if it's in the macros, PCC will complain. */ -extern struct ext_format ext_format_68881 []; +extern struct ext_format ext_format_68881; /* Convert data from raw format for register REGNUM to virtual format for register REGNUM. */ @@ -157,7 +157,7 @@ extern struct ext_format ext_format_68881 []; #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \ { \ if ((REGNUM) >= FP0_REGNUM && (REGNUM) < FPC_REGNUM) \ - ieee_extended_to_double (ext_format_68881, (FROM), (TO)); \ + ieee_extended_to_double (&ext_format_68881, (FROM), (double *)(TO)); \ else \ bcopy ((FROM), (TO), 4); \ } @@ -168,7 +168,7 @@ extern struct ext_format ext_format_68881 []; #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \ { \ if ((REGNUM) >= FP0_REGNUM && (REGNUM) < FPC_REGNUM) \ - double_to_ieee_extended (ext_format_68881, (FROM), (TO)); \ + double_to_ieee_extended (&ext_format_68881, (double *)(FROM), (TO)); \ else \ bcopy ((FROM), (TO), 4); \ } |