* go32-nat.c: Include i387-nat.h.

(fetch_register): New function, uses some of the guts of
	go32_fetch_registers and i387_supply_register.
	(go32_fetch_registers): Most of the code moved into
	fetch_register.  Use i387_supply_fsave.
	(store_register): Use i387_fill_fsave instead of custom code.
	(go32_store_registers): Use i387_fill_fsave.

	* Makefile.in (go32-nat.o): Depend on i387-nat.h.

	* config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
This commit is contained in:
Eli Zaretskii
2001-02-18 07:22:17 +00:00
parent b2f9ec70af
commit 89dea5aa55
4 changed files with 40 additions and 58 deletions

View File

@@ -8,7 +8,7 @@ XM_FILE= xm-go32.h
XDEPFILES=
NAT_FILE= nm-go32.h
NATDEPFILES= go32-nat.o
NATDEPFILES= go32-nat.o i387-nat.o
TERMCAP=
HOST_IPC=