aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
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/remote-nindy.c
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/remote-nindy.c')
-rw-r--r--gdb/remote-nindy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index e8b2160..34bb3d2 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -130,7 +130,7 @@ extern void generic_mourn_inferior ();
extern struct target_ops nindy_ops;
extern jmp_buf to_top_level;
extern FILE *instream;
-extern struct ext_format ext_format_i960[]; /* i960-tdep.c */
+extern struct ext_format ext_format_i960; /* i960-tdep.c */
extern char ninStopWhy ();
@@ -495,7 +495,7 @@ nindy_fetch_registers(regno)
&nindy_regs.fp_as_double[8 * (regnum - FP0_REGNUM)],
&inv);
/* dub now in host byte order */
- double_to_ieee_extended (ext_format_i960, &dub,
+ double_to_ieee_extended (&ext_format_i960, &dub,
&registers[REGISTER_BYTE (regnum)]);
}
@@ -524,7 +524,7 @@ nindy_store_registers(regno)
bcopy (&registers[REGISTER_BYTE (TCW_REGNUM)], nindy_regs.tcw, 1*4);
/* Float regs. Only works on IEEE_FLOAT hosts. */
for (regnum = FP0_REGNUM; regnum < FP0_REGNUM + 4; regnum++) {
- ieee_extended_to_double (ext_format_i960,
+ ieee_extended_to_double (&ext_format_i960,
&registers[REGISTER_BYTE (regnum)], &dub);
/* dub now in host byte order */
/* FIXME-someday, the arguments to unpack_double are backward.