From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10995 invoked by alias); 23 Oct 2003 01:53:36 -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 10861 invoked from network); 23 Oct 2003 01:53:34 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 23 Oct 2003 01:53:34 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C38612B89; Wed, 22 Oct 2003 21:53:33 -0400 (EDT) Message-ID: <3F97349D.9040104@gnu.org> Date: Thu, 23 Oct 2003 01:53:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kei Sakamoto Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] sim/m32r: increase the default memory region References: <00cd01c39902$8e2c7b50$5169910a@KEI> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00676.txt.bz2 > Hello, > > M32R simulator does not accept memory accesses whose addresses > are larger than 0x800000 (8MB) by default. But these days many > embedded applications require more memory space. > > The attached patch increases the default memory region to 32MB. > > OK to commit? What exactly (if you can say) is ~32mb in size? It's been assumed that a user would increase memory by specifying: -M (off the top of my head). The default being based on on whats needed by GCC/GDB's testsuite (ignoring java) (it does contain some not too small programs). So making it bigger is a notable tradeoff (but it has been creaping up over time). PSIM, for instance, avoided the problem by using OS emulation - it models a heap and stack - so can handle [UN*X] programs of any size. Andrew