This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog sim-options.c
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Mar 2010 23:10:39 -0000
- Subject: src/sim/common ChangeLog sim-options.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-03-22 23:10:39
Modified files:
sim/common : ChangeLog sim-options.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.194&r2=1.195
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-options.c.diff?cvsroot=src&r1=1.14&r2=1.15