This is the mail archive of the gdb-cvs@sourceware.org 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]

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


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