[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Sparc Search PC support problem, help!
From: |
Blue Swirl |
Subject: |
[Qemu-devel] Sparc Search PC support problem, help! |
Date: |
Wed, 08 Sep 2004 21:00:57 +0200 |
Hi,
Search PC function must be implemented to finish exception support. There
could be a major problem with the whole idea in Sparc environment: PC and
NPC (next PC) can point to far away instructions, and NPC may be discovered
only on execution phase.
For example (note delayed execution after return):
IN:
0xffd05254: retl
0xffd05258: lda [ %o0 ] (32), %o0
Faulting instruction is at 0xffd05258, so PC is the same at the exception,
but NPC is already pointing back to code at calling function (0xffd090a0
from %o7 in this case). Current Search PC can find PC, but not NPC.
I'm not sure how to proceed. One path is to execute single instructions
instead of basic blocks in Search PC mode. Any ideas? Fabrice?
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Sparc Search PC support problem, help!,
Blue Swirl <=