mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:22:30 +02:00
FpDebug: fix read address from mem
git-svn-id: trunk@44579 -
This commit is contained in:
parent
3595a693a9
commit
acbf9eea68
@ -687,7 +687,7 @@ end;
|
|||||||
function TFpDbgMemManager.ReadAddress(const ALocation: TFpDbgMemLocation; ASize: Cardinal; out
|
function TFpDbgMemManager.ReadAddress(const ALocation: TFpDbgMemLocation; ASize: Cardinal; out
|
||||||
AnAddress: TFpDbgMemLocation): Boolean;
|
AnAddress: TFpDbgMemLocation): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := ReadMemory(rdtAddress, ALocation, ASize, @AnAddress, SizeOf(AnAddress));
|
Result := ReadMemory(rdtAddress, ALocation, ASize, @AnAddress.Address, SizeOf(AnAddress.Address));
|
||||||
if Result
|
if Result
|
||||||
then AnAddress.MType := mlfTargetMem
|
then AnAddress.MType := mlfTargetMem
|
||||||
else AnAddress.MType := mlfInvalid;
|
else AnAddress.MType := mlfInvalid;
|
||||||
|
Loading…
Reference in New Issue
Block a user