Re: [Qemu-devel] [PATCH][MIPS] Enforce aligned pc

2006-04-26 Thread Thiemo Seufer
Fabrice Bellard wrote: > Is it possible that the pc gets unaligned ? Yes, e.g. due to stack corruption which overwrites the return address. Thiemo ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] [PATCH][MIPS] Enforce aligned pc

2006-04-26 Thread Fabrice Bellard
Is it possible that the pc gets unaligned ? Fabrice. Marius Groeger wrote: Hi, this patch makes qemu throw an exception when the PC is not aligned to a word boundary. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailm

[Qemu-devel] [PATCH][MIPS] Enforce aligned pc

2006-04-26 Thread Marius Groeger
Hi, this patch makes qemu throw an exception when the PC is not aligned to a word boundary. -- Marius--- target-mips/translate.c 23 Apr 2006 15:21:24 - 1.12 +++ target-mips/translate.c 26 Apr 2006 14:02:19 - @@ -1320,6 +1707,12 @@ uint16_t op, op1; int16_t imm;