From: David Anderson <davea@quasar.engr.sgi.com>
To: ac131313@ges.redhat.com
Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com,
msnyder@cygnus.com
Subject: Re: [RFA] 64-bit corefile support for Irix
Date: Tue, 10 Sep 2002 09:56:00 -0000 [thread overview]
Message-ID: <200209101655.JAA83167@quasar.engr.sgi.com> (raw)
|> + #ifdef CORE_MAGIC64
|
|Where does the macro come from? Should BFD provide it so that it can
|always be used.
|
|enjoy,
|Andrew
It comes from IRIX /usr/include/core.out.h, the
header which defines the IRIX core file format.
The 3 defines are
#define CORE_MAGIC 0xdeadadb0
#define CORE_MAGIC64 0xdeadad40
#define CORE_MAGICN32 0xbabec0bb
The initial struct in the core has a field with one of
the above values (which one depends on which ABI
the executable that coredumped was, of course).
CORE_MAGIC is for o32
CORE_MAGICN32 is for n32
CORE_MAGIC64 is for -64 (some people call it n64).
CORE_MAGIC was first, followed by CORE_MAGIC64, and then by
CORE_MAGICN32 over time. All 3 existed starting in the
mid 1990's.
Regards,
David B. Anderson davea@sgi.com http://reality.sgiweb.org/davea
next reply other threads:[~2002-09-10 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 9:56 David Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 16:18 Michael Snyder
2002-09-09 12:49 ` Andrew Cagney
2002-09-09 17:52 ` Michael Snyder
2002-09-12 12:31 ` Andrew Cagney
2002-09-12 15:01 ` Eric Christopher
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=200209101655.JAA83167@quasar.engr.sgi.com \
--to=davea@quasar.engr.sgi.com \
--cc=ac131313@ges.redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@cygnus.com \
/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