Commit | Line | Data |
---|---|---|
b2450fc5 | 1 | /* Native-dependent code for the i387. |
e2890f08 | 2 | Copyright 2000 Free Software Foundation, Inc. |
b2450fc5 MK |
3 | |
4 | This file is part of GDB. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 59 Temple Place - Suite 330, | |
19 | Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | #ifndef I387_NAT_H | |
22 | #define I387_NAT_H | |
23 | ||
24 | /* Fill GDB's register array with the floating-point register values | |
25 | in *FSAVE. This function masks off any of the reserved | |
26 | bits in *FSAVE. */ | |
27 | ||
e2890f08 | 28 | extern void i387_supply_fsave (char *fsave); |
b2450fc5 MK |
29 | |
30 | /* Fill register REGNO (if it is a floating-point register) in *FSAVE | |
31 | with the value in GDB's register array. If REGNO is -1, do this | |
32 | for all registers. This function doesn't touch any of the reserved | |
33 | bits in *FSAVE. */ | |
34 | ||
e2890f08 MK |
35 | extern void i387_fill_fsave (char *fsave, int regno); |
36 | ||
37 | /* Fill GDB's register array with the floating-point and SSE register | |
38 | values in *FXSAVE. This function masks off any of the reserved | |
39 | bits in *FXSAVE. */ | |
40 | ||
41 | extern void i387_supply_fxsave (char *fxsave); | |
42 | ||
43 | /* Fill register REGNO (if it is a floating-point or SSE register) in | |
44 | *FXSAVE with the value in GDB's register array. If REGNO is -1, do | |
45 | this for all registers. This function doesn't touch any of the | |
46 | reserved bits in *FXSAVE. */ | |
47 | ||
48 | extern void i387_fill_fxsave (char *fxsave, int regno); | |
b2450fc5 MK |
49 | |
50 | #endif /* i387-nat.h */ |