Changeset 44399 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Jan 27, 2013 9:12:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r44330 r44399 45 45 #include "REMInternal.h" 46 46 #include <VBox/vmm/vm.h> 47 #include <VBox/vmm/uvm.h> 47 48 #include <VBox/param.h> 48 49 #include <VBox/err.h> … … 193 194 * Debugger commands. 194 195 */ 195 static DECLCALLBACK(int) remR3CmdDisasEnableStepping(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PVM pVM, PCDBGCVAR paArgs, unsigned cArgs);196 static FNDBGCCMD remR3CmdDisasEnableStepping;; 196 197 197 198 /** '.remstep' arguments. */ … … 1121 1122 */ 1122 1123 remR3StateUpdate(pVM, pVCpu); 1123 DBGFR3Info(pVM , "cpumguest", NULL, NULL);1124 DBGFR3Info(pVM->pUVM, "cpumguest", NULL, NULL); 1124 1125 szBuf[0] = '\0'; 1125 rc = DBGFR3DisasInstrEx(pVM ,1126 rc = DBGFR3DisasInstrEx(pVM->pUVM, 1126 1127 pVCpu->idCpu, 1127 1128 0, /* Sel */ … … 3490 3491 "*** handlers\n", 3491 3492 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType, (RTGCPHYS)ioTLBEntry)); 3492 DBGFR3Info(pVM , "handlers", NULL, DBGFR3InfoLogRelHlp());3493 DBGFR3Info(pVM->pUVM, "handlers", NULL, DBGFR3InfoLogRelHlp()); 3493 3494 LogRel(("*** mmio\n")); 3494 DBGFR3Info(pVM , "mmio", NULL, DBGFR3InfoLogRelHlp());3495 DBGFR3Info(pVM->pUVM, "mmio", NULL, DBGFR3InfoLogRelHlp()); 3495 3496 LogRel(("*** phys\n")); 3496 DBGFR3Info(pVM , "phys", NULL, DBGFR3InfoLogRelHlp());3497 DBGFR3Info(pVM->pUVM, "phys", NULL, DBGFR3InfoLogRelHlp()); 3497 3498 cpu_abort(env, "Trying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv. (iHandlerMemType=%#x iMMIOMemType=%#x)\n", 3498 3499 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType); … … 3923 3924 * External Debugger Command: .remstep [on|off|1|0] 3924 3925 */ 3925 static DECLCALLBACK(int) remR3CmdDisasEnableStepping(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, P VM pVM, PCDBGCVAR paArgs, unsigned cArgs)3926 static DECLCALLBACK(int) remR3CmdDisasEnableStepping(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) 3926 3927 { 3927 3928 int rc; 3929 PVM pVM = pUVM->pVM; 3928 3930 3929 3931 if (cArgs == 0) … … 3988 3990 */ 3989 3991 if (fLog2) 3990 DBGFR3 InfoLog(pVM, "cpumguest", pszPrefix);3992 DBGFR3_INFO_LOG(pVM, "cpumguest", pszPrefix); 3991 3993 3992 3994 /* … … 3998 4000 char szBuf[256]; 3999 4001 szBuf[0] = '\0'; 4000 int rc = DBGFR3DisasInstrEx(pVCpu->pVMR3 ,4002 int rc = DBGFR3DisasInstrEx(pVCpu->pVMR3->pUVM, 4001 4003 pVCpu->idCpu, 4002 4004 0, /* Sel */ … … 4092 4094 char szBuf[256]; 4093 4095 uint32_t cbInstr; 4094 int rc = DBGFR3DisasInstrEx(pVM ,4096 int rc = DBGFR3DisasInstrEx(pVM->pUVM, 4095 4097 pVCpu->idCpu, 4096 4098 cs, … … 4131 4133 DBGFADDRESS Addr; 4132 4134 4133 int rc = DBGFR3AsSymbolByAddr(pVM, DBGF_AS_GLOBAL, DBGFR3AddrFromFlat(pVM, &Addr, orig_addr), &off, &Sym, NULL /*phMod*/); 4135 int rc = DBGFR3AsSymbolByAddr(pVM->pUVM, DBGF_AS_GLOBAL, DBGFR3AddrFromFlat(pVM->pUVM, &Addr, orig_addr), 4136 &off, &Sym, NULL /*phMod*/); 4134 4137 if (RT_SUCCESS(rc)) 4135 4138 {
Note:
See TracChangeset
for help on using the changeset viewer.