[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] run hello by qemu-ppc
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-ppc] run hello by qemu-ppc |
Date: |
Thu, 16 Feb 2012 10:10:51 +0100 |
Hi,
did you put an "exit(0)" at the end of your main function ?
Regards,
Laurent
Le mercredi 15 février 2012 à 16:14 +0800, address@hidden a écrit :
> got the result as bellow, hello base the PowerPC , been tested could run on
> PowerPC board:
> address@hidden:~/workspace/test$ time qemu-ppc hello
> Invalid data memory access: 0x03ffefe4
> NIP 01800074 LR 01800114 CTR 00000000 XER 00000000
> MSR 00006040 HID0 00000000 HF 00006000 idx 0
> TB 00000000 00000000
> GPR00 0000000003fff004 0000000003fff004 0000000000000000 0000000000000000
> GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR08 0000000000000000 0000000001810000 0000000000000000 0000000000000000
> GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> CR 00000000 [ - - - - - - - - ] RES ffffffff
> FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPSCR 00000000
> Invalid segfault errno (42000000)
> NIP 01800074 LR 01800114 CTR 00000000 XER 00000000
> MSR 00006040 HID0 00000000 HF 00006000 idx 0
> TB 00000000 00000000
> GPR00 0000000003fff004 0000000003fff004 0000000000000000 0000000000000000
> GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR08 0000000000000000 0000000001810000 0000000000000000 0000000000000000
> GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> CR 00000000 [ - - - - - - - - ] RES ffffffff
> FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPSCR 00000000
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> Segmentation fault
>
> real 0m0.496s
> user 0m0.104s
> sys 0m0.068s
>
>
>
>
>
>
>
>
>