diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-08-10 14:54:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-08-10 14:54:51 +0000 |
commit | e2890f080481667b088d9909e43295ad7e26e15e (patch) | |
tree | 62ae6d6e6fffbd35cd16dc21042393afef324768 /gdb/i387-nat.h | |
parent | 2e685b93dfef9012b6b1c25dc92e79a4b0a18dcc (diff) | |
download | gdb-e2890f080481667b088d9909e43295ad7e26e15e.zip gdb-e2890f080481667b088d9909e43295ad7e26e15e.tar.gz gdb-e2890f080481667b088d9909e43295ad7e26e15e.tar.bz2 |
* i387-nat.h (i387_supply_fsave, i387_fill_fsave): Make extern.
(i387_supply_fxsave, i387_fill_fxsave): New prototypes.
* i387-nat.c (i387_supply_fsave): Declare `val' as `unsigned int'.
(fxsave_offset): New variable.
(FXSAVE_ADDR): New macro.
(i387_supply_fxsave, i387_fill_fxsave, i387_tag): New functions.
Diffstat (limited to 'gdb/i387-nat.h')
-rw-r--r-- | gdb/i387-nat.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/gdb/i387-nat.h b/gdb/i387-nat.h index c23c267..85efc8e 100644 --- a/gdb/i387-nat.h +++ b/gdb/i387-nat.h @@ -1,5 +1,5 @@ /* Native-dependent code for the i387. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright 2000 Free Software Foundation, Inc. This file is part of GDB. @@ -25,13 +25,26 @@ in *FSAVE. This function masks off any of the reserved bits in *FSAVE. */ -void i387_supply_fsave (char *fsave); +extern void i387_supply_fsave (char *fsave); /* Fill register REGNO (if it is a floating-point register) in *FSAVE with the value in GDB's register array. If REGNO is -1, do this for all registers. This function doesn't touch any of the reserved bits in *FSAVE. */ -void i387_fill_fsave (char *fsave, int regno); +extern void i387_fill_fsave (char *fsave, int regno); + +/* Fill GDB's register array with the floating-point and SSE register + values in *FXSAVE. This function masks off any of the reserved + bits in *FXSAVE. */ + +extern void i387_supply_fxsave (char *fxsave); + +/* Fill register REGNO (if it is a floating-point or SSE register) in + *FXSAVE with the value in GDB's register array. If REGNO is -1, do + this for all registers. This function doesn't touch any of the + reserved bits in *FXSAVE. */ + +extern void i387_fill_fxsave (char *fxsave, int regno); #endif /* i387-nat.h */ |