This is the mail archive of the gdb-patches@sourceware.org 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: RFC: merge std-operator.def and ada-operator.def?


On Mon, 19 Mar 2012 16:33:47 +0100, Joel Brobecker wrote:
> I am OK with renaming them using OP_ADA_ as a prefix, but I would
> go the other way.  Instead of having language-specific operators,
> make them available to everyone with standard, well documented,
> semantics. Many of them might be only used in Ada at the moment,
> but I think that's OK and there is no reason that some operators
> such as "UNOP_IN_RANGE" for instance might not be used by other
> languages.

I am not so in favor of it.  Anything than can be made more specific with the
same user-visible functionality should be made so.  It simplifies maintenance.
This is the exact reason why I wanted to mark them as OP_ADA_*.

I understand putting the code into generic parts is easier for you.


Thanks,
Jan


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