Changeset 4212 in vbox for trunk/src/VBox/Debugger
- Timestamp:
- Aug 18, 2007 1:35:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGConsole.cpp
r4210 r4212 1 /** $Id$ */ 1 2 /** @file 2 * 3 * Debugger Console. 3 * DBGC - Debugger Console. 4 4 */ 5 5 … … 6235 6235 if (VBOX_SUCCESS(rc)) 6236 6236 { 6237 RTGCUINTPTR cb; 6238 /** @todo Add SELMSelInfoIsExpandDown() */ 6239 if ( (SelInfo.Raw.Gen.u4Type & X86_SEL_TYPE_DOWN) 6240 && SelInfo.Raw.Gen.u1DescType 6241 && ( SelInfo.Raw.Gen.u4Type == X86_SEL_TYPE_RO_DOWN 6242 || SelInfo.Raw.Gen.u4Type == X86_SEL_TYPE_RO_DOWN_ACC 6243 || SelInfo.Raw.Gen.u4Type == X86_SEL_TYPE_RW_DOWN 6244 || SelInfo.Raw.Gen.u4Type == X86_SEL_TYPE_RW_DOWN_ACC)) 6237 RTGCUINTPTR cb; /* -1 byte */ 6238 if (SELMSelInfoIsExpandDown(&SelInfo)) 6245 6239 { 6246 6240 if ( !SelInfo.Raw.Gen.u1Granularity … … 6253 6247 else 6254 6248 { 6255 if (Address.off > =SelInfo.cbLimit)6249 if (Address.off > SelInfo.cbLimit) 6256 6250 return VERR_OUT_OF_SELECTOR_BOUNDS; 6257 6251 cb = SelInfo.cbLimit - Address.off; … … 6261 6255 if (!pcbRead) 6262 6256 return VERR_OUT_OF_SELECTOR_BOUNDS; 6263 cbRead = cb ;6257 cbRead = cb + 1; 6264 6258 } 6265 6259 }
Note:
See TracChangeset
for help on using the changeset viewer.