From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26201 invoked by alias); 9 Apr 2003 14:21:44 -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 26189 invoked from network); 9 Apr 2003 14:21:44 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 9 Apr 2003 14:21:44 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 008462B23; Wed, 9 Apr 2003 10:21:34 -0400 (EDT) Message-ID: <3E942C6E.50003@redhat.com> Date: Wed, 09 Apr 2003 14:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] gdb.base/args.exp: Invoke gdb_load for simulator targets References: <1030408222709.ZM13182@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00156.txt.bz2 > I'm testing gdb against a simulator and I'm seeing the following in > the gdb.log output: > > (gdb) run > Starting program: .../gdb/testsuite/gdb.base/args 1 3 > Don't know how to run. Try "help target". > (gdb) FAIL: gdb.base/args.exp: correct args printed > > My first inclination was to simply skip this test for simulator > targets, but I decided that there's no reason not to run it. I've > added a bit of code to invoke gdb_load for simulator targets and > wrapped it up in a proc so that it'll be easier to augment as other > targets are identified which can use a similar mechanism. > > Comments? (This is reasonably obvious, so I'll check this in a day or > so if there are no objections.) > > * gdb.base/args.exp: Invoke gdb_load for simulator targets. > Modify regexps to match extra output after program exit in a > simulator. What's the extra output? That part may be a bug. Andrew