This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] [03/05] Get rid of current_gdbarch in register_sim_regno
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: deuling at de dot ibm dot com (Markus Deuling)
- Cc: gdb-patches at sourceware dot org (GDB Patches)
- Date: Thu, 15 Nov 2007 15:09:53 +0100 (CET)
- Subject: Re: [rfc] [03/05] Get rid of current_gdbarch in register_sim_regno
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