From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1439 invoked by alias); 9 Mar 2009 22:41:23 -0000 Received: (qmail 1427 invoked by uid 22791); 9 Mar 2009 22:41:23 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from 42.mail-out.ovh.net (HELO 42.mail-out.ovh.net) (213.251.189.42) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 09 Mar 2009 22:41:18 +0000 Received: (qmail 20679 invoked by uid 503); 9 Mar 2009 22:41:12 -0000 Received: from b9.ovh.net (HELO mail415.ha.ovh.net) (213.186.33.59) by 42.mail-out.ovh.net with SMTP; 9 Mar 2009 22:41:12 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 9 Mar 2009 22:41:13 -0000 Received: from unknown (HELO ?192.168.1.101?) (laurent%guerby.net@79.90.156.46) by ns0.ovh.net with SMTP; 9 Mar 2009 22:41:11 -0000 Subject: Re: regression test coverage for sim/common ? From: Laurent GUERBY To: Joern Rennecke , Joel Sherrill Cc: gdb@sourceware.org In-Reply-To: <20090309183049.k1gtv5m4744k04wo-nzlynne@webmail.spamcop.net> References: <20090309183049.k1gtv5m4744k04wo-nzlynne@webmail.spamcop.net> Content-Type: text/plain Date: Mon, 09 Mar 2009 22:41:00 -0000 Message-Id: <1236638470.11347.1980.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 11170897402518380144 X-Ovh-Remote: 79.90.156.46 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00070.txt.bz2 On Mon, 2009-03-09 at 18:30 -0400, Joern Rennecke wrote: > I have a patch that speeds up simulator startup for simulators that > use code in sim/common to create a new simulator instance. > > Instead of xmalloc / memset I use xcalloc to obtain zeroed memory; > on operating systems like a recent glibc/Linux system, this allows > the pages to me faultyed in as if they had been mmapped. > > What would be a suitable simulator target for a regression test? I'm cc-ing Joel Sherrill, he has setup GCC tests for lots *-rtems targets for GCC and those use heavily GDB simulators. His testing process builds binutils, GDB and other stuff completely from source (I believe his test framework is even commited and documented somewhere, in addition to running on the compile farm :). Sincerely, Laurent