aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-03-15 23:03:07 +0000
committerMark Kettenis <kettenis@gnu.org>2004-03-15 23:03:07 +0000
commit3f63813d054d56de7110fefb86600ae995228056 (patch)
treefb5f4dd00c98b39383818a7850b65e4cf9b9a442 /gdb
parent17b3eb0e44cc9cea5dcc357e13165243d6938b22 (diff)
downloadgdb-3f63813d054d56de7110fefb86600ae995228056.zip
gdb-3f63813d054d56de7110fefb86600ae995228056.tar.gz
gdb-3f63813d054d56de7110fefb86600ae995228056.tar.bz2
* i386bsd-nat.c: Update copyright year.
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then define unconditionally.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/i386bsd-nat.c9
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aa8c62c..5ff1377 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-15 Mark Kettenis <kettenis@gnu.org>
+
+ * i386bsd-nat.c: Update copyright year.
+ (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
+ define unconditionally.
+
2004-03-15 Mark Kettenis <m.kettenis@osp.nl>
* i387-tdep.h (i387_collect_fsave): New prototype.
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 9383a1d..e97d3e5 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -1,5 +1,6 @@
/* Native-dependent code for modern i386 BSD's.
- Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+
+ Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -52,14 +53,12 @@ typedef struct fpreg fpregset_t;
presence, and deal gracefully with their absence. */
/* Registers we shouldn't try to fetch. */
-#if !defined (CANNOT_FETCH_REGISTER)
+#undef CANNOT_FETCH_REGISTER
#define CANNOT_FETCH_REGISTER(regno) cannot_fetch_register (regno)
-#endif
/* Registers we shouldn't try to store. */
-#if !defined (CANNOT_STORE_REGISTER)
+#undef CANNOT_STORE_REGISTER
#define CANNOT_STORE_REGISTER(regno) cannot_fetch_register (regno)
-#endif
/* Offset to the gregset_t location where REG is stored. */
#define REG_OFFSET(reg) offsetof (gregset_t, reg)