aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/i387-tdep.h9
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cf87a9b..b85263f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2003-08-24 Mark Kettenis <kettenis@gnu.org>
+ * i387-tdep.h: Update copyright date.
+ (I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
+
* linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h
index 84c31ec..654b4a5 100644
--- a/gdb/i387-tdep.h
+++ b/gdb/i387-tdep.h
@@ -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 (struct frame_info *frame, int regnum,
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