This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Changes to allow extensions to operator set
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Paul Hilfinger <hilfingr at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 03 Sep 2003 22:15:26 -0400
- Subject: Re: RFA: Changes to allow extensions to operator set
- References: <20030901093941.0D2E9F2A64@nile.gnat.com>
4. I removed register declarations in routines I touched, just on
general principles. [I believe that all register declarations in
GDB and much other GNU software are anachronistic holdovers from
some bygone era. GCC ignores them, or so I'm told, except to
insure that & is not applied to register variables. Furthermore,
my impression is that many of these declarations would be
inappropriate even in non-optimizing compilers, since they often
seem to be used rather indiscriminantly in ways that are likely to
favor putting the wrong things into registers.]
BTW,
This is a separate but obvious (and tedious) change (you'll notice I
occasionally expunge "register" from random files). Can you first up
just expunge the "register" on the files you're interested in? Doing
this keeps the cosmetic and functional changes separate.
Oh, gdb.base/store.exp abuses "register" to create a few test senarios.
enjoy,
Andrew