mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 21:09:11 +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
|
// Get filename by address using GetModuleByAddr
|
||||||
GetModuleByAddr(tofar(addr),baseaddr,filename);
|
GetModuleByAddr(tofar(addr),baseaddr,filename);
|
||||||
{$ifdef DEBUG_LINEINFO}
|
{$ifdef DEBUG_LINEINFO}
|
||||||
writeln(stderr,filename,' Baseaddr: ',hexstr(ptruint(baseaddr),sizeof(baseaddr)*2));
|
writeln(stderr,filename,' Baseaddr: ',hexstr(baseaddr));
|
||||||
{$endif DEBUG_LINEINFO}
|
{$endif DEBUG_LINEINFO}
|
||||||
|
|
||||||
// Check if GetModuleByAddr has worked
|
// Check if GetModuleByAddr has worked
|
||||||
|
Loading…
Reference in New Issue
Block a user