xsldbgdriver.cpp (kdbg-3.0.0) | : | xsldbgdriver.cpp (kdbg-3.0.1) | ||
---|---|---|---|---|
skipping to change at line 444 | skipping to change at line 444 | |||
// adjust count such that 16 lines are printed | // adjust count such that 16 lines are printed | |||
switch (intArg & MDTformatmask) { | switch (intArg & MDTformatmask) { | |||
case MDTstring: | case MDTstring: | |||
case MDTinsn: | case MDTinsn: | |||
break; /* no modification needed */ | break; /* no modification needed */ | |||
default: | default: | |||
// all cases drop through: | // all cases drop through: | |||
switch (intArg & MDTsizemask) { | switch (intArg & MDTsizemask) { | |||
case MDTbyte: | case MDTbyte: | |||
case MDThalfword: | case MDThalfword: | |||
count *= 2; | count *= 8; | |||
break; | ||||
case MDTword: | case MDTword: | |||
count *= 2; | count *= 4; | |||
break; | ||||
case MDTgiantword: | case MDTgiantword: | |||
count *= 2; | count *= 2; | |||
break; | ||||
} | } | |||
break; | break; | |||
} | } | |||
QString spec; | QString spec; | |||
spec.sprintf("/%d%c%c", count, sizeSpec, formatSpec); | spec.sprintf("/%d%c%c", count, sizeSpec, formatSpec); | |||
return makeCmdString(DCexamine, spec, strArg); | return makeCmdString(DCexamine, spec, strArg); | |||
} | } | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 6 lines changed or added |