* use hexstr(baseaddr) to print out the pointer value, regardless of its x86 type (near/far, etc.)

git-svn-id: trunk@39056 -
This commit is contained in:
nickysn 2018-05-20 14:39:28 +00:00
parent abe61d0daa
commit 96b53c168c

View File

@ -269,7 +269,7 @@ begin
// Get filename by address using GetModuleByAddr
GetModuleByAddr(tofar(addr),baseaddr,filename);
{$ifdef DEBUG_LINEINFO}
writeln(stderr,filename,' Baseaddr: ',hexstr(ptruint(baseaddr),sizeof(baseaddr)*2));
writeln(stderr,filename,' Baseaddr: ',hexstr(baseaddr));
{$endif DEBUG_LINEINFO}
// Check if GetModuleByAddr has worked