RFC: merge std-operator.def and ada-operator.def?

Jan Kratochvil jan.kratochvil@redhat.com
Mon Mar 19 08:46:00 GMT 2012


Hi Joel,

On Sat, 17 Mar 2012 00:20:59 +0100, Joel Brobecker wrote:
> Thinking about all this, and knowing the fact that std-operator actually
> also contains some language-specific operators as well (Eg Fortran's
> OP_F90_RANGE), it seemed to me that this separation was causing some
> unnecessary complexity in our code.

(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.


Unrelated to this patchset:
After I changed it to the *.def files with OP_* names ctags no longer work to
jump to OP_* definitions.  But I do not see how to fix that.


Thanks,
Jan



More information about the Gdb-patches mailing list