I want to inspect the executed instructions in Gem5-se mode. To perform this, I 
have used gdb (remote gdb with Gem5 thro port 7000). I wrote a gdbinit file in 
order to trace each instruction being execute. 

set pagination off
set confirm off
set height 0
file armtest # binary file
target remote localhost:7000
b main
cont
#------------------
    while $pc != 0xEND OF PROGRAM address
    print $pc
    stepi
    end
#quit
#------------------

However, the output is a small portion of executed instructions. I have tested 
step, stepi, next, nexti ... but I did not get the expected output.
Is there another method to trace the program in a way we can know each 
instruction how many times execute.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to