sim: always enable support for the --endian option
authorMike Frysinger <vapier@gentoo.org>
Mon, 22 Mar 2010 23:10:39 +0000 (23:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 22 Mar 2010 23:10:39 +0000 (23:10 +0000)
commit11409fac6b95d71a92848a4499b02d60a4f4c5bb
tree0a47f86483d7adc3d01dc4add49563e207bd3ba6
parent24f5d24a2369d092830e7f276c70e2b226ba6473
sim: always enable support for the --endian option

The gdb code always passes down -E <little|big> to the sim core when using
the sim target.  But the sim core only recognizes this option when the sim
supports big endian systems.  So for little endian simulators, any attempt
to use the sim target fails with:

(gdb) target sim
gdbsim: invalid option -- 'E'
unable to create simulator instance

Since always respecting the option doesn't cause any problems, do just
that.  If someone tries to use an invalid endian, they'll get an error
anyways.
sim/common/ChangeLog
sim/common/sim-options.c
This page took 0.036066 seconds and 4 git commands to generate.