This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH v4 3/5] sim: or1k: add or1k target to sim


On 2017-09-04 23:48, Stafford Horne wrote:
This is here to configure the UPR[UP] (UPR is present flag) to 1, even in
case we didnt set it above when we do:

  SET_H_SYS_UPR (or1k_upr);

The call to SET_H_SYS_UPR() sets all of the flags in the UPR as sent in
from the user arguments. If they didn't set UPR[UP] we make sure it gets
set.

Oh ok for some reason I though that CHECK_SPR_FIELD was throwing an error when a check failed, but actually it just prints a warning. That's why I thought that the UP bit would necessarily already be set at this point.

Sorry about that.

Simon


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