[Gems-users] Debugging in Ruby


Date: Thu, 20 Jul 2006 01:09:58 -0700 (PDT)
From: James Wang <jameswang99@xxxxxxxxx>
Subject: [Gems-users] Debugging in Ruby
Hi All:
    I am trying to write a transactional memory protocol, and I am having trouble to make sense of a few transactions, and I would like to stop execution when particular memory location is modified. Is this possible to do in Ruby, or Simics? 
    I am also interested in using the tester.exec to run transactional traces. How do I do it? What's the short hand for Begin/End Transaction? Where can I find more documentations?
    Thanks for any comment in advance.
 
Regards 
James 


----- Original Message ----
From: Mike Marty <mikem@xxxxxxxxxxx>
To: James Wang <jameswang99@xxxxxxxxx>; Gems Users <gems-users@xxxxxxxxxxx>
Sent: Wednesday, July 19, 2006 1:01:32 AM
Subject: Re: [Gems-users] DataBlk


Ruby, by default, doesn't track data values when running with Simics.  There 
is a flag to control this however (DATA_BLOCK or something like that).

--Mike


> Hi all:
>    I put the following statement in my protocol
> DEBUG_EXPR(getCacheEntry(address).DataBlk);
>
>    And I always get sixteen 0s in my debug file. I am sure  that is not 
> the correct output. Is there anyway to fix this?
>
> Regards
> James
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding 
> "site:https://lists.cs.wisc.edu/archive/gems-users/";; to your search.
>
[← Prev in Thread] Current Thread [Next in Thread→]