mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 22:36:10 +02:00
FpDebug: Fixed MemManage read from register and sign extend (if register is smaller than expected source size)
This commit is contained in:
parent
4d88956173
commit
8afda09539
@ -2124,7 +2124,12 @@ begin
|
||||
FPartialReadResultLenght := SourceReadSize;
|
||||
|
||||
if SourceReadSize > ConvData.SourceSize.Size then
|
||||
SourceReadSize := ConvData.SourceSize.Size;
|
||||
SourceReadSize := ConvData.SourceSize.Size
|
||||
else
|
||||
if SourceReadSize <= ConvData.SourceSize.Size then begin
|
||||
ConvData.SourceSize := SizeVal(SourceReadSize);
|
||||
ConvData.SourceFullSize := SourceReadSize;
|
||||
end;
|
||||
|
||||
ReadData := @TmpVal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user