simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] patch #6776: No segfault on access to notimplemente


From: Joerg Wunsch
Subject: Re: [Simulavr-devel] patch #6776: No segfault on access to notimplemented I/O registers
Date: Mon, 23 Mar 2009 19:33:54 +0100
User-agent: Mutt/1.5.11

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.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]