This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: merge std-operator.def and ada-operator.def?
> (a) It would make some sense with GDB plugins but that plan was IIRC abandoned
> in the favor of Python scripting.
>
> (b) The Ada operators should be at least very each marked as Ada specific in
> its definition comment. Moreover I believe it would be worth really
> renaming them all to OP_ADA_* instead.
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.
--
Joel