[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] risu: don't do a full register compare for OP_SIGILL
From: |
Alex Bennée |
Subject: |
Re: [PATCH] risu: don't do a full register compare for OP_SIGILL |
Date: |
Tue, 23 Jun 2020 17:17:11 +0100 |
User-agent: |
mu4e 1.5.3; emacs 28.0.50 |
Peter Maydell <peter.maydell@linaro.org> writes:
> On Tue, 23 Jun 2020 at 16:07, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>> OP_SIGILL means we have an unexpected invalid operation. If this is a
>> load or store the register state may be un-rectified pointing at the
>> memblock so would be invalid. In this case just compare the PC and
>> make sure the other end also faulted at the same place.
>
> In case of mismatch of the PC do we still print the full register
> dump?
As rth points out with a new mismatch code we could do whatever we
wanted on a fail although the "master" will not have sent a register
dump so we can only dump the local register state.
>
> thanks
> -- PMM
--
Alex Bennée