[PATCH] Add constants to i387-tdep.h
Mark Kettenis
kettenis@chello.nl
Sun Aug 24 13:56:00 GMT 2003
I'm going to need these in the very near future.
Considering the copright: the omission of 2002 (and 2003) was a bug
since we did release a modified version of this file in that year.
Checked in,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i387-tdep.h: Update copyright date.
(I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
Index: i387-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.h,v
retrieving revision 1.6
diff -u -p -r1.6 i387-tdep.h
--- i387-tdep.h 23 Aug 2003 08:56:45 -0000 1.6
+++ i387-tdep.h 24 Aug 2003 13:53:18 -0000
@@ -1,5 +1,6 @@
/* Target-dependent code for the i387.
- Copyright 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of GDB.
@@ -44,6 +45,12 @@ extern void i387_register_to_value (stru
extern void i387_value_to_register (struct frame_info *frame, int regnum,
struct type *type, const void *from);
+
+
+/* Size of the memory area use by the 'fsave' and 'fxsave'
+ instructions. */
+#define I387_SIZEOF_FSAVE 108
+#define I387_SIZEOF_FXSAVE 512
/* Fill register REGNUM in GDB's register cache with the appropriate
value from *FSAVE. This function masks off any of the reserved
More information about the Gdb-patches
mailing list