aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-i960.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-08-22 01:42:18 +0000
committerJohn Gilmore <gnu@cygnus>1991-08-22 01:42:18 +0000
commit9fa283782e3deddc1801ce554562318953279f0c (patch)
tree2c5a7f93af21fdc11bb4a0fd30c07af44ec8040e /gdb/tm-i960.h
parenta7f538ebd1c93a63a466170d6cccf8fdc48b50d1 (diff)
downloadgdb-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-i960.h')
-rw-r--r--gdb/tm-i960.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tm-i960.h b/gdb/tm-i960.h
index 0b8785f..8c3116b 100644
--- a/gdb/tm-i960.h
+++ b/gdb/tm-i960.h
@@ -175,10 +175,10 @@ extern CORE_ADDR saved_pc_after_call ();
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO) \
{ \
- extern struct ext_format ext_format_i960[]; \
+ extern struct ext_format ext_format_i960; \
\
if ((REGNUM) >= FP0_REGNUM) \
- ieee_extended_to_double (ext_format_i960, (FROM), (TO)); \
+ ieee_extended_to_double (&ext_format_i960, (FROM), (double *)(TO)); \
else \
bcopy ((FROM), (TO), 4); \
}
@@ -188,10 +188,10 @@ extern CORE_ADDR saved_pc_after_call ();
#define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
{ \
- extern struct ext_format ext_format_i960[]; \
+ extern struct ext_format ext_format_i960; \
\
if ((REGNUM) >= FP0_REGNUM) \
- double_to_ieee_extended (ext_format_i960, (FROM), (TO)); \
+ double_to_ieee_extended (&ext_format_i960, (double *)(FROM), (TO)); \
else \
bcopy ((FROM), (TO), 4); \
}