Browse Source

* use hexstr(addr) in the dwarf backtrace function, so it displays always a good
value, according to the x86 pointer type

git-svn-id: trunk@39057 -

nickysn 7 years ago
parent
commit
1f76f52996
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/lnfodwrf.pp

+ 1 - 1
rtl/inc/lnfodwrf.pp

@@ -1328,7 +1328,7 @@ begin
   BackTraceStrFunc := @SysBackTraceStr;
   Success:=GetLineInfo(codeptruint(addr), func, source, line);
   { create string }
-  DwarfBackTraceStr :='  $' + HexStr(ptruint(addr), sizeof(ptruint) * 2);
+  DwarfBackTraceStr :='  $' + HexStr(addr);
   if Success then
   begin
     if func<>'' then