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: RFA: let gdbarch define FP0_REGNUM on rs6000


On 04 May 2004 10:16:25 -0500
Jim Blandy <jimb@redhat.com> wrote:

> > > - #define FP0_REGNUM 32		/* Floating point register 0 */
> > 
> > Note that FP0_REGNUM is on the deprecate hit list, it's superseeded by
> > things like reggroups and regsets.  As with other code, you should
> > s/FP0_REGNUM/RS6000_FP0_REGNUM/ where possible.
> 
> Okay.  In the RS6000 case, it'd probably be more consistent to simply
> use tdep->ppc_fp0_regnum, rather than introducing a new macro.

I agree.  Consider such a patch to be preapproved.

Kevin


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