* i386m3-nat.c: Include floatformat.h.

(get_i387_state): Use memset not bzero.
This commit is contained in:
Jim Kingdon 1994-03-13 20:17:39 +00:00
parent 5fa83062a8
commit c4ad6b0970
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.
* Version 4.12.3.
* Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change

View File

@ -19,6 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "defs.h"
#include "inferior.h"
#include "floatformat.h"
#include <stdio.h>
@ -374,7 +375,7 @@ get_i387_state (fstate)
/* Clear the target then copy thread's float state there.
Make a copy of the status word, for some reason?
*/
bzero (fstate, sizeof(struct fpstate));
memset (fstate, 0, sizeof (struct fpstate));
fstate->status = fsp->exc_status;