This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Add code to support evaluating Fortran exponentiation expression
- From: Daniel Jacobowitz <drow at false dot org>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 17 Jun 2005 09:41:39 -0400
- Subject: Re: [RFC] Add code to support evaluating Fortran exponentiation expression
- References: <Pine.LNX.4.63.0506171316270.15833@localhost.localdomain>
On Fri, Jun 17, 2005 at 01:22:26PM +0800, Wu Zhou wrote:
> 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
>
> * f-exp.y (yyparse): Add code to support exponentiation expression.
> (yylex): Add code to scan exponentiation operator.
> * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
> * valarith.c (value_binop): Reset errno to 0 before calling pow
> to do exponentiation operation.
This will need a testcase, in addition to documentation. Doing those
separately is fine. The only other problem is that f-exp.y needs a
copyright year update: the last listed year is 2001, but I see it has
been modified in 2002, 2003, and 2004. So please add all of those
years (plus 2005).
Otherwise OK.
--
Daniel Jacobowitz
CodeSourcery, LLC