This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Doco? (was: "Re: Problems running GDB-5.1.")


[Message from gdb@sources...]

On Wed, Nov 06, 2002 at 12:14:25PM -0800, Joel Brobecker wrote:
> > 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.

Maybe I should have documented that somewhere. Or added a configury
test? What is the usual procedure in cases like that?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]