From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Restructure doublest.c a bit Date: Sun, 28 Oct 2001 11:22:00 -0000 Message-id: <3BDC5AD0.3020706@cygnus.com> References: <200110281239.f9SCdOk08291@delius.kettenis.local> X-SW-Source: 2001-10/msg00348.html Yes fine. > + > + /* FIXME: kettenis/2001-10-06: It is debatable whether we should > + zero out any remaining bytes in the target buffer when TYPE is > + longer than the actual underlying floating-point format. Perhaps > + we should store a fixed bitpattern in those remaining bytes, > + instead of zero, or perhaps we shouldn't touch those remaining > + bytes at all. */ > Can you add this: /* NOTE: cagney/2001-10-28: With the way things currently work, it isn't a good idea to leave the end bits undefined. This is because GDB writes out the entire sizeof() bits of the floating point type even though the value might only be stored in, and the target processor may only refer to, the first N