From: Mark Kettenis <kettenis@wins.uva.nl>
To: gdb-patches@sources.redhat.com
Cc: jiri@suse.cz
Subject: [PATCH] Remove junk from x86-64-linux-tdep.c
Date: Fri, 21 Sep 2001 15:58:00 -0000 [thread overview]
Message-ID: <200109212257.f8LMvxS00327@delius.kettenis.local> (raw)
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 */
reply other threads:[~2001-09-21 15:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200109212257.f8LMvxS00327@delius.kettenis.local \
--to=kettenis@wins.uva.nl \
--cc=gdb-patches@sources.redhat.com \
--cc=jiri@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox