This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFC: Patch to arm-tdep.c -- Register flavors
- To: Scott Bambrough <scottb at netwinder dot org>
- Subject: Re: RFC: Patch to arm-tdep.c -- Register flavors
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 16 Feb 2000 13:01:44 -0500
- CC: rearnsha at arm dot com, Nick Clifton <nickc at cygnus dot com>, GDB Patches Mail List <gdb-patches at sourceware dot cygnus dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <200002161539.PAA12704@cam-mail2.cambridge.arm.com> <38AAC4BC.6F8052A2@netwinder.org>
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