mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 05:59:27 +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;
|
BackTraceStrFunc := @SysBackTraceStr;
|
||||||
Success:=GetLineInfo(codeptruint(addr), func, source, line);
|
Success:=GetLineInfo(codeptruint(addr), func, source, line);
|
||||||
{ create string }
|
{ create string }
|
||||||
DwarfBackTraceStr :=' $' + HexStr(ptruint(addr), sizeof(ptruint) * 2);
|
DwarfBackTraceStr :=' $' + HexStr(addr);
|
||||||
if Success then
|
if Success then
|
||||||
begin
|
begin
|
||||||
if func<>'' then
|
if func<>'' then
|
||||||
|
Loading…
Reference in New Issue
Block a user