#include "EbcInt.h"\r
#include "EbcExecute.h"\r
#include "EbcSupport.h"\r
+#include "EbcDebuggerHook.h"\r
\r
/**\r
Given raw bytes of Itanium based code, format them into a bundle and\r
PushU64 (&VmContext, 0);\r
PushU64 (&VmContext, 0xDEADBEEFDEADBEEF);\r
VmContext.StackRetAddr = (UINT64) VmContext.Gpr[0];\r
+\r
//\r
// Begin executing the EBC code\r
//\r
+ EbcDebuggerHookEbcInterpret (&VmContext);\r
EbcExecute (&VmContext);\r
+\r
//\r
- // Return the value in R[7] unless there was an error\r
+ // Return the value in Gpr[7] unless there was an error\r
//\r
ReturnEBCStack(StackIndex);\r
return (UINT64) VmContext.Gpr[7];\r
//\r
// Begin executing the EBC code\r
//\r
+ EbcDebuggerHookExecuteEbcImageEntryPoint (&VmContext);\r
EbcExecute (&VmContext);\r
\r
//\r
- // Return the value in R[7] unless there was an error\r
+ // Return the value in Gpr[7] unless there was an error\r
//\r
ReturnEBCStack(StackIndex);\r
return (UINT64) VmContext.Gpr[7];\r