Changeset 82672 in vbox for trunk/src/VBox/Debugger
- Timestamp:
- Jan 8, 2020 1:26:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCCmdHlp.cpp
r80156 r82672 432 432 433 433 case DBGCVAR_TYPE_HC_PHYS: 434 case DBGCVAR_TYPE_HC_FLAT:435 434 { 436 435 DBGCVAR Var2; … … 438 437 if (RT_SUCCESS(rc)) 439 438 { 440 /** @todo protect this!!! */441 439 memcpy(pvBuffer, Var2.u.pvHCFlat, cb); 442 rc = 0;440 rc = VINF_SUCCESS; 443 441 } 444 442 else … … 446 444 break; 447 445 } 446 447 case DBGCVAR_TYPE_HC_FLAT: 448 rc = VERR_NOT_SUPPORTED; 449 break; 448 450 449 451 default: … … 572 574 return rc; 573 575 574 case DBGCVAR_TYPE_HC_FLAT:575 576 case DBGCVAR_TYPE_HC_PHYS: 576 577 { … … 598 599 cbChunk = cbWrite; 599 600 600 /** @todo protect this!!! */601 601 memcpy(Var2.u.pvHCFlat, pvBuffer, cbChunk); 602 602 … … 614 614 return VINF_SUCCESS; 615 615 } 616 617 case DBGCVAR_TYPE_HC_FLAT: 618 return VERR_NOT_SUPPORTED; 616 619 617 620 default:
Note:
See TracChangeset
for help on using the changeset viewer.