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.0?] only allow raw raw registers; Was: [patch rfc] Add NUM_REGS pseudo regs to MIPS


On Mon, Jul 28, 2003 at 11:37:12AM -0400, Andrew Cagney wrote:
> I've checked this tweak into 6.0 and mainline:
> 
> >2003-07-27  Andrew Cagney  <cagney@redhat.com>
> >
> >	* mips-tdep.c (print_gp_register_row): Print the GPR's register
> >	MOD NUM_REGS.
> >
> 
> and this change into just the mainline (6.0 will follow in a few days if 
> no one notices a problem):
> 
> >2003-07-27  Andrew Cagney  <cagney@redhat.com>
> >
> >	* regcache.c (struct regcache_descr): Update comments on
> >	nr_raw_registers.
> >	(init_legacy_regcache_descr): Don't set nr_raw_registers or
> >	sizeof_raw_register_valid_p.
> >	(init_regcache_descr): Set nr_raw_registers and
> >	sizeof_raw_register_valid_p before calling
> >	init_legacy_regcache_descr.
> >

On a related note, before this change (2003-07-07 actually)
mipsel-linux was completely broken.  Info registers, in addition to
printing R90, also claimed that all registers were zero.  Backtraces
broke for the same reason.

I haven't tried newer mainline yet; I will today or tomorrow.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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