aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-linux-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-09-21 22:57:29 +0000
committerMark Kettenis <kettenis@gnu.org>2001-09-21 22:57:29 +0000
commit1dbeeb7b3b3ca347c036dfaf31476a07fb6109be (patch)
tree0d0996f6299e94ff3a50ab7b46536668e975552c /gdb/x86-64-linux-tdep.c
parent1e738b87c87fe468ba6dd11f8e94e937d0ee665f (diff)
downloadgdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.zip
gdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.tar.gz
gdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.tar.bz2
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
Diffstat (limited to 'gdb/x86-64-linux-tdep.c')
-rw-r--r--gdb/x86-64-linux-tdep.c3
1 files changed, 0 insertions, 3 deletions
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 */