[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Simulavr-devel] patch #6776: No segfault on access to notimplemente
RE: [Simulavr-devel] patch #6776: No segfault on access to notimplemented I/O registers
Mon, 23 Mar 2009 11:16:34 -0600
> -----Original Message-----
> u.org] On Behalf Of Joel Sherrill
> Sent: Monday, March 23, 2009 10:56 AM
> To: address@hidden
> Subject: [Simulavr-devel] patch #6776: No segfault on access
> to notimplemented I/O registers
> When you access a non-existent address or IO
> location, it is just logged in the trace output
> if tracing is enabled.
> 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.