This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] sim/m32r: increase the default memory region


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]