commit | c3203fa5b2c17a1c446e44c87788fef21b4af5f4 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Thu Dec 13 16:12:02 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Mon Jan 07 17:37:09 2013 +0100 |
tree | 59917bb41d525abe83acc3e41e60a93840645fa7 | |
parent | a26a7b38331dc14893a66fbe78f34afab153d6b2 [diff] |
openpic: don't crash on a register access without a CPU context If we access a register via the QEMU memory inspection commands (e.g. "xp") rather than from guest code, we won't have a CPU context. Gracefully fail to access the register in that case, rather than crashing. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>