aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/x86-64-linux-tdep.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8a6348b..f8c5374 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-22 Mark Kettenis <kettenis@gnu.org>
+
+ * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
+
2001-09-21 Jiri Smid <smid@suse.cz>
* config/i386/x86-64linux.mh: New file.
diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c
index 7a1a045..14e78cd 100644
--- a/gdb/x86-64-linux-tdep.c
+++ b/gdb/x86-64-linux-tdep.c
@@ -27,9 +27,6 @@
#include "x86-64-tdep.h"
#include "dwarf2cfi.h"
-#define STRUCT_OFFSET(struct_type, member) \
- ((long) ((char*) &((struct_type*) 0)->member))
-
#define LINUX_SIGTRAMP_INSN0 (0x48) /* mov $NNNNNNNN,%rax */
#define LINUX_SIGTRAMP_OFFSET0 (0)
#define LINUX_SIGTRAMP_INSN1 (0x0f) /* syscall */