aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-24 13:55:48 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-24 13:55:48 +0000
commit2de139ba84480ec495470c05bab7de61927fbc41 (patch)
tree1b6707fcab3b59f0b115bc85b4d462709930c33d
parent6564f77d9dda7f8bcfc62f55307c8911b56a437c (diff)
downloadgdb-2de139ba84480ec495470c05bab7de61927fbc41.zip
gdb-2de139ba84480ec495470c05bab7de61927fbc41.tar.gz
gdb-2de139ba84480ec495470c05bab7de61927fbc41.tar.bz2
* i387-tdep.h: Update copyright date.
(I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
-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