diff options
author | Scott Wood <scottwood@freescale.com> | 2012-12-13 16:12:02 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-01-07 17:37:09 +0100 |
commit | c3203fa5b2c17a1c446e44c87788fef21b4af5f4 (patch) | |
tree | 59917bb41d525abe83acc3e41e60a93840645fa7 /scripts | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions