Re: Using Simulator from within GDB

Andrew Cagney
2001-04-30T09:33:00Z

Nitin Gupta wrote:

> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=m32r-elf"...
> warning: little endian file does not match big endian target.

This is because your target is hard-wired big-endian yet your object
file (according to BFD) is little endian.

> (gdb) target sim
> Target (LITTLE_ENDIAN) and configured (BIG_ENDIAN) byte order in
> conflict
> Target (BIG_ENDIAN) and specified (LITTLE_ENDIAN) byte order in conflict

The same problem.

Andrew