[Gems-users] ruby_operate


Date: Wed, 17 Jan 2007 11:15:40 -0800 (PST)
From: "Dave Z." <zhu_dave@xxxxxxxxx>
Subject: [Gems-users] ruby_operate
Hi,

I'm trying to catch some accesses in ruby_operate (ruby.c) using the following:

 if ((mem_op->s.physical_address >= 0xff26e000) && (mem_op->s.physical_address < 0xff26e00f))
    printf("Accessing physical address %x\n", mem_op->s.physical_address); 

In my benchmarks, I have int* ptr (where ptr = ff26e000). But the following accesses are not caught in ruby_operate:

ptr[0] = value;
x = ptr[1];
...

Is there something wrong with what I'm doing?

Thanks








 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

[← Prev in Thread] Current Thread [Next in Thread→]