mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +02:00
* 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:
parent
abe61d0daa
commit
96b53c168c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user