From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28497 invoked by alias); 23 May 2003 00:45:27 -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 28378 invoked from network); 23 May 2003 00:45:25 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 23 May 2003 00:45:25 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 3DF31D34B8; Thu, 22 May 2003 17:45:19 -0700 (PDT) Date: Fri, 23 May 2003 00:45:00 -0000 From: Joel Brobecker To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa/testsuite] add test embryo for lang = minimal Message-ID: <20030523004519.GM923@gnat.com> References: <20030522001009.GI1027@gnat.com> <16076.55217.140146.243779@localhost.redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <16076.55217.140146.243779@localhost.redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-05/txt/msg00447.txt.bz2 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 473 > 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 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="langs.exp.diff" Content-length: 728 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 --AhhlLboLdkugWU4S--