From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14303 invoked by alias); 23 Jun 2003 19:48:56 -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 14233 invoked from network); 23 Jun 2003 19:48:55 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Jun 2003 19:48:55 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h5NJmtH16872 for ; Mon, 23 Jun 2003 15:48:55 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5NJmsI32427 for ; Mon, 23 Jun 2003 15:48:55 -0400 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5NJmpd17585; Mon, 23 Jun 2003 15:48:51 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id A3C7A2C987; Mon, 23 Jun 2003 15:55:39 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16119.23355.425858.387533@localhost.redhat.com> Date: Mon, 23 Jun 2003 19:48:00 -0000 To: Joel Brobecker Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [rfa/testsuite] add test embryo for lang = minimal In-Reply-To: <20030612235955.GA947@gnat.com> References: <20030522001009.GI1027@gnat.com> <16076.55217.140146.243779@localhost.redhat.com> <20030523004519.GM923@gnat.com> <20030612235955.GA947@gnat.com> X-SW-Source: 2003-06/txt/msg00732.txt.bz2 Joel Brobecker writes: > Ping? whoops. yes. Branch as well. elena > > On Thu, May 22, 2003 at 05:45:19PM -0700, Joel Brobecker wrote: > > > Hmmm, it's ok, I wonder if it could be folded into langs.exp? Also, > > > default.exp, setshow.exp, help.exp have language tests that should > > > probably be updated including the minimal language. > > > > Is the attached better? (merged the minimal.exp test into langs.exp). > > I will be looking at setshow, default, and help momentarily. > > > > 2003-05-22 J. Brobecker > > > > * gdb.base/langs.exp: Add some tests for the "minimal" language > > support > > > > -- > > Joel > > > Index: langs.exp > > =================================================================== > > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/langs.exp,v > > retrieving revision 1.1.1.2 > > diff -u -r1.1.1.2 langs.exp > > --- langs.exp 28 Jun 1999 16:03:20 -0000 1.1.1.2 > > +++ langs.exp 23 May 2003 00:41:29 -0000 > > @@ -145,5 +145,20 @@ > > } > > } > > > > +gdb_exit > > +gdb_start > > +gdb_reinitialize_dir $srcdir/$subdir > > +gdb_load $binfile > > + > > +# Try exercising the "minimal" language a bit... > > + > > +if [runto csub] then { > > + gdb_test "set lang minimal" \ > > + "Warning: the current language does not match this frame." \ > > + "set lang to minimal" > > + > > + gdb_test "print x" " = 5000" "print parameter value" > > +} > > + > > set timeout $oldtimeout > > return 0 > > > -- > Joel