In debug and opt mode, events have a unique instance number. You can figure out the instance number and then run again scheduling a breakpoint when the event matching the instance number is scheduled.
The only other alternative involves hacking code. Nate On Mon, Apr 12, 2010 at 8:05 PM, Veydan Wu <[email protected]> wrote: > Hi, all. I am using the M5 Alpha FS mode, with the functional CPU model and > timing memory access. > > When one event is serviced, the corresponding process function is invoked, > but I want to know what type of event it is and who schedules it into the > event queue. For example, when the /mem/tport.cc/sendDeferredPacket() is > invoked, I want to know where this deferred event come from and when it is > scheduled. Is there any way I can know this information? GDB seems only give > me the function invoke sequence, but the function which schedules the event > has already returned. Can anyone help me about this? Thanks in advance. > > -- > Weidan > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
