Date: | Thu, 14 Sep 2006 18:46:14 -0400 |
---|---|
From: | "Marco Tirado" <marco.tirado@xxxxxxxxx> |
Subject: | Re: [Gems-users] Magic Instructions |
We had the same problem when doing simulations with solaris 9. The simulation did not stop even when using the MAGIC BREAKPOINT macro directly. We solved it by defining a hap callback where we simply stop SIMICS, we used the MAGIC BREAKPOINT macro directly and the hap callback definition in our script looks like this.
@def hap_callback(user_arg, cpu, arg): SIM_break_simulation("MAGIC Breakpoint") @SIM_hap_add_callback("Core_Magic_Instruction", hap_callback, None) Hope this helps. Marco On 9/14/06, Dan Gibson <degibson@xxxxxxxx> wrote:
Try the following code. It uses 0x40000 explicitly (4<<16): |
Previous by Date: | Re: [Gems-users] ruby results, Mike Marty |
---|---|
Next by Date: | Re: [Gems-users] Magic Instructions, Greg Byrd |
Previous by Thread: | Re: [Gems-users] Magic Instructions, Dan Gibson |
Next by Thread: | Re: [Gems-users] Magic Instructions, Greg Byrd |
Indexes: | [Date] [Thread] |