Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: "Trant, Bert" <Bert.Trant@csoconline.com>
Cc: "'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: Re: Problems running GDB-5.1.
Date: Wed, 06 Nov 2002 12:11:00 -0000	[thread overview]
Message-ID: <20021106201425.GX5164@gnat.com> (raw)
In-Reply-To: <72222DC86846D411ABD300A0C9EB08A1030613B4@csoc-mail-box.csoconline.com>

> I recieve the following warning message:
> 	
> 	warning: big endian file does not match little endian target.

Did you compile GDB with GCC or the Tru64 C compiler? If you compiled
with GCC, you may have run into the same problem as I did. I fixed it
by compiling with -D__digital__:

     make CC=gcc CFLAGS="-O2 -D__digital__"

What happens is that GCC picks up the wrong definitions for the
structure of the core file if this macro is not defined. So the layout
of the data does not match and we end up reading some garbage. Hence
the bizarre messages.

-- 
Joel


  reply	other threads:[~2002-11-06 20:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 11:55 Trant, Bert
2002-11-06 12:11 ` Joel Brobecker [this message]
2002-11-06 12:35   ` Andrew Cagney
2002-11-06 23:19     ` Joel Brobecker
2002-11-07  7:09       ` Andrew Cagney
2002-11-07 10:05         ` Joel Brobecker

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=20021106201425.GX5164@gnat.com \
    --to=brobecker@gnat.com \
    --cc=Bert.Trant@csoconline.com \
    --cc=gdb@sources.redhat.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