[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Simulavr-devel] patch #6776: No segfault on access to notimplemente
From: |
Weddington, Eric |
Subject: |
RE: [Simulavr-devel] patch #6776: No segfault on access to notimplemented I/O registers |
Date: |
Mon, 23 Mar 2009 11:16:34 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> 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
>
> Hi,
>
> 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.