microblaze: Update PC before simulating syscall
commitd7dce494769e47c9a1eec6f55578d3acdfab888b
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 26 Apr 2012 12:18:25 +0000 (26 14:18 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 19 Oct 2012 11:24:12 +0000 (19 13:24 +0200)
tree300607cfb4cada8a9c1e8b3d1c3bba620e135dde
parenta5b3bdcba8a105439ad3a44121526306c449e100
microblaze: Update PC before simulating syscall

Fixes a clone() emulation bug were the new thread starts
at the point of the syscall and thus clones in a loop.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
linux-user/main.c