This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Ada-related patches, part I
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Hilfinger at otisco dot mckusick dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 04 Mar 2003 10:56:23 -0500
- Subject: Re: RFA: Ada-related patches, part I
- References: <200303040737.XAA17188@otisco.McKusick.COM>
2003-03-03 Paul N. Hilfinger <hilfingr at otisco dot mckusick dot com>
You don't appear to have a personal assignment for GDB on file.
Assuming this is being done as an employee of Act, can you please use
your act e-mail address in your ChangLogs.
* defs.h (enum language): Add language_ada.
This is ok.
However, this change shouldn't be necessary. The language code should
be sufficiently modula as to not need this. Can you/act at least
investigate what would be needed to finish this?
* expression.h (enum exp_opcode): Add definitions of
OP_ADA_ATTRIBUTE, BINOP_IN_BOUNDS, TERNOP_IN_RANGE, UNOP_QUAL,
and UNOP_IN_RANGE.
* parse.c (length_of_subexp): Add cases for new definitions in
enum exp_opcode in expression.h.
(prefixify_subexp): Ditto.
The comments on these suggest ADA specific semantics. Can you please
include ADA in all their names. Otherwize approved (but a separate
commit to the above as this change is orthogonal).
(mind you, again, this shouldn't be needed. Instead these operators
should be objects that language specific modules can just add).
Andrew