From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 313 invoked by alias); 3 Jul 2005 18:57:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32759 invoked by uid 22791); 3 Jul 2005 18:57:34 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 03 Jul 2005 18:57:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1Dp9en-0008QV-90; Sun, 03 Jul 2005 14:57:33 -0400 Date: Sun, 03 Jul 2005 18:57:00 -0000 From: Daniel Jacobowitz To: Wu Zhou Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] New testcase to evaluate Fortran substring expression Message-ID: <20050703185733.GI13811@nevyn.them.org> Mail-Followup-To: Wu Zhou , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00026.txt.bz2 On Wed, Jun 22, 2005 at 10:53:35AM +0800, Wu Zhou wrote: > Eli/Daniel and all, > > Here is my new testcase to evaluate Fortran substring expression. The > intention is to test whehter current GDB could correctly handle substring > expression evaluation of Fortran. I tested it against g77-3.2.3 and > gfortran-4.0.0. The last four tests failed for both configuration. > > I am also thinking of fixing these errors. It is easy to fix str(exp:exp) > and str(:), but I am not sure how to fix str(:exp) and str(exp:) yet. Any > hints/tips on this? TIA. Let's hold this thought, OK? I would rather add the tests when you have a patch to fix them. Alternatively PRs could be filed and the new tests KFAILd, but I don't think that adds much value. What's the problem with parsing (:exp)? An exp can't be empty, and a colon can't appear at the start of an exp. I don't think (exp:) will be any harder but my yacc is rusty. -- Daniel Jacobowitz CodeSourcery, LLC