Hi, Nate. Thank you for your reply. Do you mean that the event instance number will remain the same in the next run? I think there are so many schedule function in M5, how can I schedule a breakpoint to intercept the event I want? Thank you very much!
2010/4/13 nathan binkert <[email protected]> > 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()<http://tport.cc/sendDeferredPacket%28%29>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 > -- 吴为丹 中科院计算所 微处理器中心0853 北京海淀区科学院南路6号 100190 (86-10)6260-0853 (86-10)8268-3196 (86)138-112-10636 [email protected]
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
