mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 12:09:25 +02:00
* fixed the stack traces under linux (StackTop wasn't initialized)
git-svn-id: trunk@25861 -
This commit is contained in:
parent
f23794bf39
commit
714ca3a61d
@ -351,8 +351,9 @@ begin
|
|||||||
{$endif}
|
{$endif}
|
||||||
{$endif}
|
{$endif}
|
||||||
IsConsole := TRUE;
|
IsConsole := TRUE;
|
||||||
|
StackTop := initialstkptr;
|
||||||
StackLength := CheckInitialStkLen(initialStkLen);
|
StackLength := CheckInitialStkLen(initialStkLen);
|
||||||
StackBottom := initialstkptr - StackLength;
|
StackBottom := StackTop - StackLength;
|
||||||
{ Set up signals handlers (may be needed by init code to test cpu features) }
|
{ Set up signals handlers (may be needed by init code to test cpu features) }
|
||||||
InstallSignals;
|
InstallSignals;
|
||||||
{$if defined(cpui386) or defined(cpuarm)}
|
{$if defined(cpui386) or defined(cpuarm)}
|
||||||
|
Loading…
Reference in New Issue
Block a user