mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:59:26 +02:00
+ add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed
git-svn-id: trunk@43358 -
This commit is contained in:
parent
20ca7d857c
commit
c6a08cdc6e
@ -40,6 +40,7 @@ interface
|
||||
public
|
||||
constructor Create(const s:string);
|
||||
destructor Destroy;override;
|
||||
procedure Flush;
|
||||
procedure Add(const s:string);
|
||||
procedure AddHeader(const s:string);
|
||||
procedure AddCommonSymbolsHeader;
|
||||
@ -111,6 +112,12 @@ implementation
|
||||
end;
|
||||
|
||||
|
||||
procedure TExeMap.Flush;
|
||||
begin
|
||||
System.Flush(t);
|
||||
end;
|
||||
|
||||
|
||||
procedure TExeMap.Add(const s:string);
|
||||
begin
|
||||
writeln(t,s);
|
||||
|
Loading…
Reference in New Issue
Block a user