Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Remove junk from x86-64-linux-tdep.c
@ 2001-09-21 15:58 Mark Kettenis
  0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2001-09-21 15:58 UTC (permalink / raw)
  To: gdb-patches; +Cc: jiri

I committed the attached.  STRUCT_OFFSET wasn't used anywhere in the
sources.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.

Index: x86-64-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/x86-64-linux-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 x86-64-linux-tdep.c
--- x86-64-linux-tdep.c 2001/09/21 12:19:15 1.1
+++ x86-64-linux-tdep.c 2001/09/21 22:55:49
@@ -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 */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-21 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-21 15:58 [PATCH] Remove junk from x86-64-linux-tdep.c Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox