Re: [gem5-users] How to run gdb or debug segmentation fault in Full System O3CPU in x86 isa

2019-09-04 Thread Abhishek Singh
Hello Ayaz and Everyone, I would like to run gdb tool within the image while restoring from the checkpoint in x86 O3CPU. I get a "segmentation fault error " when I restore from the checkpoint. The segmentation fault I get is in "system.pc.com_1.device" and simulation exits normally. I do not get

Re: [gem5-users] How to run gdb or debug segmentation fault in Full System O3CPU in x86 isa

2019-09-01 Thread Ayaz Akram
Hi Abhishek, You can use gdb's remote debugger interface to debug simulated code in gem5. See details here: http://www.gem5.org/Debugging_Simulated_Code. Regards, -Ayaz On Sun, Sep 1, 2019 at 5:56 PM Abhishek Singh < abhishek.singh199...@gmail.com> wrote: > Hello Everyone, > > I am running the

[gem5-users] How to run gdb or debug segmentation fault in Full System O3CPU in x86 isa

2019-09-01 Thread Abhishek Singh
Hello Everyone, I am running the persistent benchmarks (tatp, vacation), which is a single thread benchmark. I can correctly run the benchmark on AtomicSimpleCPU and generate checkpoint. When I am trying to restore it with O3CPU, I can see "Segmentation Fault (core dumped)" in