Dear Sirs:
    I'm learning to use gem5. I tried to execute a simple C program on gem5,
but an error came up:


*
gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Sep 22 2011 00:40:05
gem5 started Sep 23 2011 22:20:04

gem5 executing on localhost.localdomain
command line: ./build/MIPS_SE/gem5.opt configs/example/se.py -c
../CrossCompilerTest/test2
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000


**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: Not extending stack: address 0xffff9014 isn't at the end of the stack.
panic: Page table fault when accessing virtual address 0xffff9014


 @ cycle 370000
[invoke:build/MIPS_SE/sim/faults.cc, line 71]
Memory Usage: 554772 KBytes
Program aborted at cycle 370000
Aborted (core dumped)*

       Here is the command that I used to execute it and the program that I
wrote to execute on gem5:

*./build/MIPS_SE/gem5.opt configs/example/se.py -c ../CrossCompilerTest/test2



*
#include        <stdio.h>

int main()
{
        printf("Hello World");
        return 0;


}

   The compiler I used is: Sourcery_CodeBench_Lite_for_MIPS_GNU_Linux 4.5.2

   What should I do? Please help me, Thank you
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to