Re: [rfa/i387] Eliminate HOST_*_FORMAT from i387-tdep.c

Mark Kettenis
2001-07-04T14:13:00Z

Date: Wed, 04 Jul 2001 15:18:17 -0400
From: Andrew Cagney <ac131313@cygnus.com>

Thanks! I've checked in the attatched. It added a few more comments
and the suggested assertion. (and ``. '' :-)

Did you? Sorry, I couldn't resist :-).

Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>

* i387-tdep.c (print_i387_value): Add extra space after final full
stop in comment.

Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.10
diff -u -p -r1.10 i387-tdep.c
--- i387-tdep.c 2001/07/04 19:19:58 1.10
+++ i387-tdep.c 2001/07/04 21:11:01
@@ -168,7 +168,7 @@ print_i387_value (char *raw)
gdb_assert (TARGET_LONG_DOUBLE_FORMAT == &floatformat_i387_ext);

/* Take care of the padding. FP reg is 80 bits. The same value in
- memory is 96 bits. */
+ memory is 96 bits. */
gdb_assert (FPU_REG_RAW_SIZE < len);
memcpy (&tmp, raw, FPU_REG_RAW_SIZE);
memset (&tmp + FPU_REG_RAW_SIZE, 0, len - FPU_REG_RAW_SIZE);