From: Mark Kettenis Date: Fri, 21 Sep 2001 22:57:29 +0000 (+0000) Subject: * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1dbeeb7b3b3ca347c036dfaf31476a07fb6109be;p=binutils-gdb.git * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a6348b42b0..f8c53744928 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-09-22 Mark Kettenis + + * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed. + 2001-09-21 Jiri Smid * config/i386/x86-64linux.mh: New file. diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c index 7a1a045f019..14e78cda484 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 */