From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12797 invoked by alias); 26 Sep 2002 20:47:54 -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 12789 invoked from network); 26 Sep 2002 20:47:53 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 26 Sep 2002 20:47:53 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C1AD83DC7; Thu, 26 Sep 2002 16:47:53 -0400 (EDT) Message-ID: <3D937279.7060304@redhat.com> Date: Thu, 26 Sep 2002 13:47:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: RFC: Additional testsuite alternative References: <20020916192546.GA6174@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00451.txt.bz2 > Source file two.cc: > === > struct OneStruct { > int simple; > }; > struct OneStruct StrOne; > const struct OneStruct *ConstStrOnePtr; > > int FunctionWithPtrs (const struct OneStruct *one, const int *two) > { > return 0; > } > > int > main () > { > return 0; > } The nice thing about GCC's framework is that it is a single C file. Is the same possible here? Comments would indicate where to set breakpoints and what values to print. The test then involves running the program, and for each breakpoint, printing and checking the output. (How would this .x file handle regular expressions? That is the one thing I never figured out with the GCC framework.) enjoy, Andrew