I run a simple program which just print "Hello World" two times. I make a
checkpoint between the two "Hello World".
However, I just can get one "Hello World" when I read the checkpoint. Then
the program will interrupt.
How could I make the program continue to print the second "Hello world"
after I read the checkpoint?

my program is:

#include <stdio.h>
#include "m5op.h"
void main()
{
      printf("Hello, World!\n");
      m5_checkpoint(0,0);
      printf("Hello, World!\n");
}


after I read checkpoint, the result in the terminal is :

shu@shu:~/Desktop/gem5$ m5term localhost 3458
==== m5 slave terminal: Terminal 0 ====
Hello, World!
#

The command I used to read checkpoint is: " build/ALPHA_FS/m5.fast
configs/example/fs.py -r 1 "


Thanks in advance.

Regards,
Shu.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to