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?
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Mar 2012 09:45:14 +0100
- Subject: Re: RFC: merge std-operator.def and ada-operator.def?
- References: <1331940061-10739-1-git-send-email-brobecker@adacore.com>
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