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]

Re: [patch,rfc,6] Revert to legacy when REGISTER_BYTE


Sigh,

This patch changes the regcache so that, when REGISTER_BYTE or REGISTER_RAW_SIZE are present, the old style legacy regcache layout is used.

This will stop those regcache assertion failures. Fixing the problem (especially for MIPS) will just get too messy for the branch :-(

My thought is to commit this to 6.0 branch, while on the mainline delete REGISTER_BYTE and REGISTER_RAW_SIZE and just wear the consequences ...

comments and/or suggestions?

(none against)


2003-06-29 Andrew Cagney <cagney@redhat.com>

	* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add
	predicate.
	* gdbarch.h, gdbarch.c: Re-generate.
	* regcache.c (init_regcache_descr): Use legacy code when either
	REGISTER_BYTE or REGISTER_RAW_SIZE is set.

I've checked this in to the 6.0 branch (and for the sake of consistency, the trunk).


Andrew



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