|
@@ -655,14 +655,19 @@ Procedure getdir(drivenr:byte;var dir:ansistring);
|
|
|
|
|
|
{ os independent calls to allow backtraces }
|
|
|
{$IFDEF INTERNAL_BACKTRACE}
|
|
|
-function get_frame:pointer;[INTERNPROC:fpc_in_get_frame];
|
|
|
+// inserted in compiler/psystem.pas
|
|
|
+//function get_frame:pointer;[INTERNPROC:fpc_in_get_frame];
|
|
|
+(*
|
|
|
+// still defined externally
|
|
|
function get_caller_addr(framebp:pointer):pointer;[INTERNPROC:fpc_in_get_caller_addr];
|
|
|
function get_caller_frame(framebp:pointer):pointer;[INTERNPROC:fpc_in_get_caller_frame];
|
|
|
+*)
|
|
|
{$ELSE}
|
|
|
function get_frame:pointer;{$ifdef SYSTEMINLINE}inline;{$endif}
|
|
|
+{$ENDIF}
|
|
|
+
|
|
|
function get_caller_addr(framebp:pointer):pointer;{$ifdef SYSTEMINLINE}inline;{$endif}
|
|
|
function get_caller_frame(framebp:pointer):pointer;{$ifdef SYSTEMINLINE}inline;{$endif}
|
|
|
-{$ENDIF}
|
|
|
|
|
|
Function IOResult:Word;{$ifdef SYSTEMINLINE}inline;{$endif}
|
|
|
Function Sptr:Pointer;{$ifdef SYSTEMINLINE}inline;{$endif}[internconst:fpc_in_const_ptr];
|