This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: RFC: Patch to arm-tdep.c -- Register flavors


Scott Bambrough wrote:
> 
> Richard Earnshaw wrote:
> >
> > This is one of the few cases where I would just delete the old name.  Old
> > processors never had a specific flags register, so the 'ps' name was
> > 'invented' by the original porter of gdb.  Since then the cpsr name has
> > come into use and I doubt that even users debugging in 26-bit mode would
> > object violently to this name changing (maybe we can support "ps" as an
> > alias when parsing user input, but I see no point in ever printing
> > anything other than "cpsr".
> 
> This is ok by me.  Nick?  Fernando?
> 
Nick only.  One of the reasons I changed this code was that the register
names are maintained at on place only and this place is the opcodes
directory (which, after the unification is the same for gdb and the
disassembly).  This ensures coherence and ends up being maintained by
the people who are up to date with the chip manufaturer's latest
specs/standards.

BTW, the patch to change this will have to go through
binutils@sourceware.cygnus.com
I wonder if Nick could give us a hand with that (assuming that he agrees
with the change)?

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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