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: [WIP/RFC] MIPS registers overhaul


At Sat, 14 Jun 2003 21:36:04 -0400, Andrew Cagney wrote:

Chris?


Sorry, I must have missed that msg... 8-)



That isn't quite the detail I was looking for. Does the code need to look like:

save::
	save FSR
	if (FSR & FR)

*** when FR == 1, it's 32 64-bit registers. so, invert.


save 32x32 FP

*** or, save 16 (even) 64-bit FP registers, if MIPS2 or later. *** in fact, on MIPS2 and later, better to do that, since it'll be *** more efficient (fewer instructions).

But see my other post. Using a double store gives different behavior to two single stores. I guess the kernel can do a double store, only then swapping the registers before supplying them to gdb.


Andrew



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