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