> -----Original Message----- > From: > [email protected] > [mailto:simulavr-devel-bounces+eric.weddington=atmel....@nongn > u.org] On Behalf Of Joerg Wunsch > Sent: Monday, March 23, 2009 12:34 PM > To: [email protected] > Subject: Re: [Simulavr-devel] patch #6776: No segfault on > access tonotimplemented I/O registers > > As Weddington, Eric wrote: > > > > This seems like an error condition the user > > > would care about. Shouldn't there also be > > > a message on stderr? > > > Seems reasonable to me, as doing that (accessing a non-existent > > address or IO location) would be an error condition in the simulated > > program. The user should be notified in an unambiguous way. > > OTOH, I think there's also a point for having an option where the > simulator behaves as best as possible like real silicon, i.e. unknown > opcodes are executed as a NOP rather than triggering an exception, and > access to unknown storage yields unpredictable results.
Ooooh, if the user program accesses unknown storage can we do something upredictable like, I don't know, format their hard drive? ;-) _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
