From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4812 invoked by alias); 31 Mar 2010 01:46:02 -0000 Received: (qmail 4802 invoked by uid 22791); 31 Mar 2010 01:46:01 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 31 Mar 2010 01:45:56 +0000 Received: (qmail 83969 invoked by uid 20157); 31 Mar 2010 01:45:54 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 31 Mar 2010 01:45:54 -0000 Date: Wed, 31 Mar 2010 01:46:00 -0000 From: Hans-Peter Nilsson To: Mike Frysinger cc: gdb-patches@sourceware.org Subject: Re: [PATCH] sim: constify watchpoint interrupt names In-Reply-To: <201003301941.45755.vapier@gentoo.org> Message-ID: References: <1269899363-10054-1-git-send-email-vapier@gentoo.org> <201003301907.28723.vapier@gentoo.org> <201003301941.45755.vapier@gentoo.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg01104.txt.bz2 On Tue, 30 Mar 2010, Mike Frysinger wrote: > On Tuesday 30 March 2010 19:20:56 Hans-Peter Nilsson wrote: > > Feel free to commit with a suitable ChangeLog entry if > > tests pass. > > they do pass, and this reminds me of why dejagnu is so damn annoying. a > simple `make check-sim` fails by default because the sim framework attempts to > execute the binary on the host instead of through the sim. seems pretty dumb > to me. JFTR, you're supposed to specify a "board", like so: "make check-sim RUNTESTFLAGS=--target_board=v850-sim" but you know that as you have run tests. Target executable files always default to the host (through "unix.exp" aka. --target_board=unix). That you're testing the simulator itself by running the target executable files there is just a special-case, but anyway I guess it'd be a good idea (read: feel free to send patches) for the simulator Makefile.in to default to its dejagnu board when running the tests, e.g. to default RUNTESTFLAGS to the above. ...or maybe even better, as Doug suggested. brgds, H-P PS. thanks for the quick turnaround, my autotester is pacified.