1.i am debugging “build/RISCV/gem5.debug” in Clion
2.the command line is "--pdb /home/lzt/workSpace/gem5/configs/example/se.py --cpu-type RiscvTimingSimpleCPU --cmd=/home/lzt/workSpace/gem5/tests/test-progs/hello/bin/riscv/linux/hello"
3.the gdb is normal until "instPtr = decoder->decode(pc_state)" in file "src/cpu/simple/base.cc"
4.after "instPtr = decoder->decode(pc_state)" executed, i want to see what is in instPtr. but when i want to see what is in StaticInst, the gdb goes wrong !!! picture bellow.
5.what the gdb show is :
could any one can help me, thanks in advance!!!
1.i am debugging “build/RISCV/gem5.debug” in Clion
2.the command line is "--pdb /home/lzt/workSpace/gem5/configs/example/se.py --cpu-type RiscvTimingSimpleCPU --cmd=/home/lzt/workSpace/gem5/tests/test-progs/hello/bin/riscv/linux/hello"
3.the gdb is normal until "instPtr = decoder->decode(pc_state)" in file "src/cpu/simple/base.cc"
4.after "instPtr = decoder->decode(pc_state)" executed, i want to see what is in instPtr. but when i want to see what is in StaticInst, the gdb goes wrong !!! picture bellow.
5.what the gdb show is :
could any one can help me, thanks in advance!!!