From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24083 invoked by alias); 9 Mar 2009 22:27:00 -0000 Received: (qmail 24073 invoked by uid 22791); 9 Mar 2009 22:27:00 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from c60.cesmail.net (HELO c60.cesmail.net) (216.154.195.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Mar 2009 22:26:57 +0000 Received: from unknown (HELO webmail1) ([192.168.1.181]) by c60.cesmail.net with ESMTP; 09 Mar 2009 18:26:56 -0400 Received: from 5ac25444.bb.sky.com (5ac25444.bb.sky.com [90.194.84.68]) by webmail.spamcop.net (Horde MIME library) with HTTP; Mon, 09 Mar 2009 18:30:49 -0400 Message-ID: <20090309183049.k1gtv5m4744k04wo-nzlynne@webmail.spamcop.net> Date: Mon, 09 Mar 2009 22:27:00 -0000 From: Joern Rennecke To: gdb@sourceware.org Subject: regression test coverage for sim/common ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) 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/msg00069.txt.bz2 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?