diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-13 20:17:39 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-13 20:17:39 +0000 |
commit | c4ad6b09700563cdda539f260f2727667c64d292 (patch) | |
tree | 1ae979f63ff23a4db3eaf112a749d040684aff7b /gdb/i386m3-nat.c | |
parent | 5fa83062a87e15804c237b530cc46866e9a178ff (diff) | |
download | gdb-c4ad6b09700563cdda539f260f2727667c64d292.zip gdb-c4ad6b09700563cdda539f260f2727667c64d292.tar.gz gdb-c4ad6b09700563cdda539f260f2727667c64d292.tar.bz2 |
* i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.
Diffstat (limited to 'gdb/i386m3-nat.c')
-rw-r--r-- | gdb/i386m3-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386m3-nat.c b/gdb/i386m3-nat.c index 8892e16..b3c9358 100644 --- a/gdb/i386m3-nat.c +++ b/gdb/i386m3-nat.c @@ -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; |