On Tue, Jan 31, 2006 at 07:14:14PM +0100, Johannes Stezenbach wrote: [snip] > Yes, that's why I said I'm confused about mips_isa_regsize() vs. > mips_abi_regsize(). > > mips_abi_regsize() correctly says the register size is 32bit for o32, > but mips_register_type() calls mips_isa_regsize(), not > mips_abi_regsize(). That's why I chose to "fix" mips_isa_regsize(). > > Or should mips_register_type() simply call mips_abi_regsize()? Without having had a look at the code I think that's the right fix. > Or is the correct fix to change gdbserver to transfer registers > in mips_isa_regsize() size, i.e. 64bit for 64bit ISA? > (But gdb would't use the upper 32bits of the registers anyway > with o32 ABI, and this would be more complicated to fix.) Thiemo