[Gems-users] continuing execution in opal after a magic instruction


Date: Thu, 06 Jul 2006 13:49:01 -0500
From: Philip Garcia <pcgarcia@xxxxxxxx>
Subject: [Gems-users] continuing execution in opal after a magic instruction
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am currently trying to launch some small test programs in simics to figure out the magic instruction usage. However I seem to be having a problem with getting multiple instructions to run. I have a simple program of the following structure

main
{
	Setup()
	MagicBreak
	DoWork()
	MagicBreak
}

I ran it in simics (without gems loaded) till the first magic breakpoint and set a checkpoint, so I can load where I want it to be in gems. My problem is when I load the configuration and try to run it in ruby/opal, here is the output I'm getting:

simics> opal0.sim-start "results.opal"
[0]     PC 0x10578      NPC 0x1057c     ctx 0x264
simics> opal0.sim-step 1000000000
patch  PC: 0x1057c 0x10578
patch  NPC: 0x10580 0x1057c
simulate: completed 1 instructions, cycle: 860

It appears that the break happened right before the magic instruction, so it only runs a single instruction, which obviously doesn't give me the results I want. I was wondering if there was any way to continue execution after this point. Hitting c just runs it in standard simics mode. I've checked the website and can't find any mention of how to continue the execution of a halted program.

thanks,
Phil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFErVsdkSK2LwjyZ3wRAnvJAJ42BDs+FAVvMW6Gg1hw+RWVM/X4+ACeOq30
APlo9Bmf2CfqV3tgbfKXBoo=
=fZSD
-----END PGP SIGNATURE-----
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] continuing execution in opal after a magic instruction, Philip Garcia <=