Fix i387_supply_fxsave fall-out

Andreas Jaeger aj@suse.de
Sat Aug 23 09:41:00 GMT 2003


Mark, I now get with current CVS:

/cvs/src-gdb/src/gdb/x86-64-tdep.c: In function `x86_64_supply_fxsave':
/cvs/src-gdb/src/gdb/x86-64-tdep.c:1298: error: too few arguments to function `i387_supply_fxsave'

Ok to commit the appended patch?

Andreas

2003-08-23  Andreas Jaeger  <aj@suse.de>

	* x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
	i387_supply_fxsave.

============================================================
Index: gdb/x86-64-tdep.c
--- gdb/x86-64-tdep.c	18 Aug 2003 20:04:55 -0000	1.89
+++ gdb/x86-64-tdep.c	23 Aug 2003 09:38:34 -0000
@@ -1295,7 +1295,7 @@ x86_64_init_abi (struct gdbarch_info inf
 void
 x86_64_supply_fxsave (char *fxsave)
 {
-  i387_supply_fxsave (fxsave);
+  i387_supply_fxsave (fxsave, -1);
 
   if (fxsave)
     {

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030823/08e9dd84/attachment.sig>


More information about the Gdb-patches mailing list