diff options
author | Stu Grossman <grossman@cygnus> | 1996-04-11 21:17:45 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-04-11 21:17:45 +0000 |
commit | a243a22f4359c557c08d4fd962391c9f70287fec (patch) | |
tree | 018f21e57d8d9f12db5fe5f608d8536beb5e34e0 /gdb/remote-nindy.c | |
parent | 024e1779233ad7121b2bf40741cfe21b4047770e (diff) | |
download | gdb-a243a22f4359c557c08d4fd962391c9f70287fec.zip gdb-a243a22f4359c557c08d4fd962391c9f70287fec.tar.gz gdb-a243a22f4359c557c08d4fd962391c9f70287fec.tar.bz2 |
* dcache.c: Add prototypes. Make many functions static.
* (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
dcache_poke call dcache_xfer_memory directly in order to fix
problems with turning off dcache. dcache_peek is now unnecessary,
so it goes away.
* defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
to a struct floatformat. This allows for better handling of
targets whose floating point formats differ from the host by more
than just byte order.
* (floatformat_to_long_double floatformat_from_long_double):
Prototypes for new functions in utils.c.
* (floatformat_to_doublest floatformat_from_doublest): Prototypes
for pointers to floating point conversion functions. The actual
function uses either double or long double if the host supports it.
* findvar.c (floatformat_to_doublest floatformat_from_doublest):
Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
* (extract_floating store_floating): Rewrite. Now, if host fp
format is the same as the target, we just do a copy. Otherwise,
we call floatformat_{to from}_doublest.
* remote-nindy.c (nindy_xfer_inferior_memory): Change param
`write' to `should_write'.
* utils.c (floatformat_to_long_double
floatformat_from_long_double): New routines that implement long
double versions of functions in libiberty/floatformat.c.
* config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
i960 extended real (80 bit) numbers.
* nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
actually read or written.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r-- | gdb/remote-nindy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index a3417f0..cb223a2 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -525,11 +525,11 @@ nindy_store_word (addr, word) FIXME, rewrite this to not use the word-oriented routines. */ int -nindy_xfer_inferior_memory(memaddr, myaddr, len, write, target) +nindy_xfer_inferior_memory(memaddr, myaddr, len, should_write, target) CORE_ADDR memaddr; char *myaddr; int len; - int write; + int should_write; struct target_ops *target; /* ignored */ { register int i; @@ -541,7 +541,7 @@ nindy_xfer_inferior_memory(memaddr, myaddr, len, write, target) /* Allocate buffer of that many longwords. */ register int *buffer = (int *) alloca (count * sizeof (int)); - if (write) + if (should_write) { /* Fill start and end extra bytes of buffer with existing memory data. */ |