Hi Steve, I know how to use gdb to debug, but now I want to remote debug the guest code directly using gdb in SE mode, and I want to dump stats and create checkpoints at breakpoints. However, this doesn't work and gem5 panics and reports: page table fault when accessing virtual address 0... I don't know if I can call function in remote debugging session. Thanks.
On Mon, Aug 24, 2015 at 7:26 PM, Steve Reinhardt <[email protected]> wrote: > You can call functions from gdb, but most functions are not designed to be > called from gdb. What arguments does the function expect, and what > arguments are you providing? > > On Mon, Aug 24, 2015 at 8:13 AM Lingxiao Jia <[email protected]> > wrote: > >> Hi all, >> >> Can anyone help with this issue? I am still not finding how to deal with >> this. >> >> Thanks. >> >> On Wed, Aug 19, 2015 at 9:54 AM, Lingxiao Jia <[email protected]> >> wrote: >> >>> Hi all, >>> >>> I am using gdb to remote debug program running on ARM architecture. I am >>> running in SE mode. When I try to dumpstat and checkpoint from the remote >>> debugger using call m5_xxx(), gem5 panics: page table fault when accessing >>> virtual address 0... >>> I included util/m5/m5op.h in my source file, and compiled with >>> m5op_arm.S statically. >>> >>> The m5_xxx methods work fine if I directly call them in the program. Can >>> I really call function in remote debugging session? >>> >>> >>> -- >>> >>> Best regards, >>> >>> Lingxiao Jia >>> >> >> >> >> -- >> >> Best regards, >> >> Lingxiao Jia >> >> 贾凌霄 >> >> >> Electrical & Computer Engineering (ECE) >> >> The University of Texas at Austin (UT-Austin) >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- Best regards, Lingxiao Jia 贾凌霄 Electrical & Computer Engineering (ECE) The University of Texas at Austin (UT-Austin)
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
