mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 02:19:57 +02:00
FPDebug: fix loader
git-svn-id: trunk@43254 -
This commit is contained in:
parent
68196f23cb
commit
96d08aac7e
@ -65,7 +65,7 @@ begin
|
||||
|
||||
SetLength(cmdbuf, header.sizeofcmds);
|
||||
//Stream.Read(cmdbuf[0], header.sizeofcmds);
|
||||
ALoader.Read(0, header.sizeofcmds, @cmdbuf[0]);
|
||||
ALoader.Read(sizeof(header), header.sizeofcmds, @cmdbuf[0]);
|
||||
|
||||
SetLength(commands, header.ncmds);
|
||||
ofs := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user