* i386gnu-nat.c: Include "i387-nat.h".
authorMark Kettenis <kettenis@gnu.org>
Sun, 22 Jul 2001 20:35:14 +0000 (20:35 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 22 Jul 2001 20:35:14 +0000 (20:35 +0000)
commit383d750bf39bdc06b42c50c854285345f6d2a848
treebe6952bbde545cec458689801ec1fdec71d5a78a
parent2b3c5a5dc1fd065e5e019292b2267b5c5e8b379f
* i386gnu-nat.c: Include "i387-nat.h".
(struct env387): Removed.
(reg_offset): Fix comment.
(fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM.  Rewrite to
use i387_supply_fsave.
(gnu_fetch_registers): Remove spurious whitespace.
(convert_to_env387): Remove.
(store_fpregs): Add argument regno.  Use i387_fill_fsave instead
of convert_to_env387.
(gnu_store_registers): Remove spurious whitespace.  Pass REGNO to
store_fpregs.
* config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
* config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
(NATDEPFILES): Add i387-nat.o.
gdb/ChangeLog
gdb/config/i386/i386gnu.mh
gdb/config/i386/i386gnu.mt
gdb/i386gnu-nat.c