* 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 -
This commit is contained in:
nickysn 2018-05-20 14:42:17 +00:00
parent 96b53c168c
commit 1f76f52996

View File

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