Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Joel Brobecker <brobecker@gnat.com>
Cc: "Trant, Bert" <Bert.Trant@csoconline.com>,
	"'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: Re: Problems running GDB-5.1.
Date: Wed, 06 Nov 2002 12:35:00 -0000	[thread overview]
Message-ID: <3DC97CFA.8010807@redhat.com> (raw)
In-Reply-To: <20021106201425.GX5164@gnat.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.

Suggest a bug report and addition to the [5.3] gdb/PROBLEMS file.
The fix involves changing the configury.

Andrew



  reply	other threads:[~2002-11-06 20:35 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
2002-11-06 12:35   ` Andrew Cagney [this message]
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=3DC97CFA.8010807@redhat.com \
    --to=ac131313@redhat.com \
    --cc=Bert.Trant@csoconline.com \
    --cc=brobecker@gnat.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