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]

Re: RFA: correct mn10300 saved regs handling


> 2001-05-06  Jim Blandy  <jimb@redhat.com>
> 
> Correct and expand handling of `movm' instruction, and register
> 	saves in general.
> 	* config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
> 	MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
> 	(enum movm_register_bits): New enum.
> 	* mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
> 	bits, not hex literals.  Handle the `other', `exreg0', and
> 	`exother' bits.  Correct handling of `exreg1': it saves r4, r5,
> 	r6, and r7, not r2, r3, r4, and r5.
> 	(saved_regs_size): New function.
> 	(mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
> 	of computing the same thing inline, incorrectly.

Yes, thanks.

Hmm, given I'm not exactly activly working on the mn10300 (unlike the 
d10v) I'm going to drop my name as maintainer.

	Andrew



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