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: ARM sim patch: increase default target memory


> On Tue, 2002-03-19 at 07:46, Andrew Cagney wrote:
> 
> The number is a compromise between a fast simulator startup, sufficient memory for a typical simulation and unnecessary VM grab.  It was also found to be sufficient for the basic GDB and GCC tests.
> 
> 
> Unfortunately this isn't true anymore.  gcj is part of GCC and 2MB is
> not enough space.
> 
> As I said a compromise for the ``basic'' gcc tests.  I recall this value being put up once before and people complaining that the basic tests slowed down and GDB grabbed too much memory.

Hmm, perhaphs a better way of looking at this is to ask where the line 
should be drawn.

C? Fortran? C++? Java? Ada?

I dread the thought of hardwireing this to 32 mb (:-^) just so that 
standalone C++ or Ada programs can be run without the -m flag.

I suspect C might be a good compromise :-)

enjoy,
Andrew



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