Browse Source

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

git-svn-id: trunk@39056 -
nickysn 7 years ago
parent
commit
96b53c168c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/lnfodwrf.pp

+ 1 - 1
rtl/inc/lnfodwrf.pp

@@ -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