This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] sim/m32r: increase the default memory region
- From: Andrew Cagney <cagney at gnu dot org>
- To: Kei Sakamoto <sakamoto dot kei at renesas dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 22 Oct 2003 21:53:33 -0400
- Subject: Re: [RFA] sim/m32r: increase the default memory region
- References: <00cd01c39902$8e2c7b50$5169910a@KEI>
> 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 <size>
(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