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: Changes to allow extensions to operator set


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



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