[mips-gnu-discuss] mips-sde-elf-run problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mips-gnu-discuss] mips-sde-elf-run problem
- To: mips-gnu-discuss@xxxxxxxxxxxxxxxx
- Subject: [mips-gnu-discuss] mips-sde-elf-run problem
- From: Max Salov <amx@xxxxx>
- Date: Thu, 06 May 2010 15:54:18 +0300
Hello,
I'm wondering how I can use that tool.
I've tried basic "hello, world" with no success. Here are my steps
# Compile
>mips-sde-elf-gcc hello.c -o hello.elf -EL -mips32r2 -T mipssim-hosted.ld
# Try to run
>mips-sde-elf-run.exe -v --architecture mips:isa32r2 -E little hello.elf
mips-sde-elf-run.exe hello.elf
^C
Simulator Execution Speed
Total execution time : 4.00 seconds
Simulator speed: 0 insns/second
program stopped with signal 2.
simulator hangs till Ctrl+C.
With trace enabled I can see execution of some code, but expected
"hello" is not shown, program is ended with endless loop, so the only
way is ^C to stop it.
Can anyone help me to run it correctly?
Best regards,
Max.