This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: AVR testing [was: Re: Revised release criteria for GCC 4.0]


On Wed, 15 Dec 2004, Hans-Peter Nilsson wrote:
> On Wed, 15 Dec 2004, E. Weddington wrote:
> > Are you talking about file operations and memory allocation for the
> > target? The AVR is an 8-bit RISC microcontroller; it's not going to be
> > hooked up to a filesystem (normally), and only has a primitive malloc.
>
> No, I'm talking about the simulated system.

In retrospect, that wasn't very clear either. gah.

I mean a way to make e.g. calls to printf output through the
simulator (implement "_write" in newlib IIRC), and for calls to
abort and invalid pointer accesses to make the simulator exit
with an error code.  So, you can't say all memory is valid and
have a "char mem[0x10000];" in the simulator - NULL and nearby
should be invalid.

brgds, H-P


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