From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5412 invoked by alias); 24 Feb 2004 17:22:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5390 invoked from network); 24 Feb 2004 17:22:18 -0000 Received: from unknown (HELO lakemtao02.cox.net) (68.1.17.243) by sources.redhat.com with SMTP; 24 Feb 2004 17:22:18 -0000 Received: from white ([68.9.64.121]) by lakemtao02.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040224172218.JIHT7164.lakemtao02.cox.net@white> for ; Tue, 24 Feb 2004 12:22:18 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1AvgGA-0004nw-00 for ; Tue, 24 Feb 2004 12:22:18 -0500 Date: Tue, 24 Feb 2004 17:22:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: -file-list-exec-source-files testcase Message-ID: <20040224172218.GA18323@white> Mail-Followup-To: gdb@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2004-02/txt/msg00344.txt.bz2 Hi, I was wondering, the testcase I am writing for -file-list-exec-source-files has output like (gdb) -file-list-exec-source-files ^done,files=[ {filename="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S"}, {filename="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S"}, {filename="init.c"}, {filename="../sysdeps/i386/elf/start.S"}, {filename="./gdb.mi/basics.c",fullname="/home/bob/cvs/src/src/src/gdb/testsuite/gdb.mi/basics.c"} ] (gdb) There are no line breaks in the real output, that is for convenience above. So, I was wondering, the output of the MI command looks like {filename=.*}+ or {filename=.*,fullname=/.*}+ where you can have 0 or more filename or filename/fullname pairs. Since I am testing the program 'basics' should I just test the literal output of this command when run against basics, or should I make it general so that it should work for any output of -file-list-exec-source-files? Hope this is clear. Thanks, Bob Rossi