[rfc] [03/05] Get rid of current_gdbarch in register_sim_regno

Ulrich Weigand uweigand@de.ibm.com
Thu Nov 15 14:10:00 GMT 2007


Markus Deuling wrote:
> Ulrich Weigand schrieb:
> > Markus Deuling wrote:
> 
> > Those changes are OK, but you should at the same time
> > add the gdbarch parameter to the one2one_register_sim_regno
> > routine, since this is intended as a routine that can be
> > used as argument to gdbarch_set_register_sim_regno.
> > 
> > In fact, it would be good if you could also change the
> > *callers* of gdbarch_register_sim_regno to make sure
> > they really all have a gdbarch available.
> > 
> 
> Hi Uli,
> 
> sorry for the delay.  Please see my patch: http://sourceware.org/ml/gdb-patches/2007-11/msg00263.html
> 
> The update of that callers is part of that trivial replacement patch. I hope this is ok?

OK, thanks.  In that case, the original register_sim_regno patch
is OK; please also update the one2one_register_sim_regno routine.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list