diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-09-21 22:57:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-09-21 22:57:29 +0000 |
commit | 1dbeeb7b3b3ca347c036dfaf31476a07fb6109be (patch) | |
tree | 0d0996f6299e94ff3a50ab7b46536668e975552c /gdb | |
parent | 1e738b87c87fe468ba6dd11f8e94e937d0ee665f (diff) | |
download | fsf-binutils-gdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.zip fsf-binutils-gdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.tar.gz fsf-binutils-gdb-1dbeeb7b3b3ca347c036dfaf31476a07fb6109be.tar.bz2 |
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/x86-64-linux-tdep.c | 3 |
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 */ |