Hello,

I try to cast a MessagePtr into a RubyRequest Pointer, but it won't work.
Does somebody know why?

The RubyRequest is created in the Network-Tester. Maybe the Message passed to 
the NetworkInterface is not this original RubyRequest? But if so, where is it 
converted?

This:
RubyRequest *new_ruby_request_ptr = safe_cast<RubyRequest *>(msg_ptr.get());

Fails with:
gem5.debug: build/ARM/base/cast.hh:49: T safe_cast(U) [with T = RubyRequest*; U 
= Message*]: Assertion `ret' failed.


Best regards,
Fabian Weber
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to