Hi Muzamil,

I would guess this is a bug in the code that you've added. There are a
number of ways to go about debugging these kinds of issues. I would go
through this order:

1. Add debug flags to my code and then read through the debug trace.
2. Use GDB to track exactly what values each variables have when the error
occurs. You may need to compile the "debug" version of gem5 and use
breakpoints.


Jason

On Mon, Apr 17, 2017 at 1:00 PM Muzamil Rafique <[email protected]>
wrote:

>
> Hi Jason,
>
> While trying to implement "Creating SimObjects in the memory system" and
> after using the command:
>
> build/X86/gem5.opt src/learning_gem5/simple_memobj/simple_memobj.py
>
> I got the following error:
>
>
> info: Entering event queue @ 0.  Starting simulation...
> gem5.opt: build/X86/mem/port.cc:182: bool
> MasterPort::sendTimingReq(PacketPtr): Assertion `pkt->isRequest()' failed.
>
> I guess this is a bug which was not there before? Any ideas how to remove
> it?
>
> Muzamil
>
> _______________________________________________
> 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

Reply via email to