mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 20:47:15 +01:00
fixed lazarus xml files for fpc 1.1
git-svn-id: trunk@2480 -
This commit is contained in:
parent
ac20d27435
commit
9cf72ed27f
@ -74,7 +74,7 @@ function SendApplicationMessage(Msg: Cardinal; WParam, LParam: Longint):Longint;
|
||||
procedure OwnerFormDesignerModified(AComponent: TComponent);
|
||||
function OffsetRect(var ARect: TRect; dx,dy: Integer): Boolean;
|
||||
procedure FreeThenNil(var AnObject: TObject);
|
||||
|
||||
procedure RaiseGDBException(const Msg: string);
|
||||
|
||||
implementation
|
||||
|
||||
@ -350,6 +350,21 @@ begin
|
||||
FItems[NewIndex]:=MovingMethod;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
procedure RaiseGDBException(const Msg: string);
|
||||
|
||||
Raises an exception.
|
||||
gdb does not catch fpc Exception objects, therefore this procedure raises
|
||||
a standard AV which is catched by gdb.
|
||||
------------------------------------------------------------------------------}
|
||||
procedure RaiseGDBException(const Msg: string);
|
||||
begin
|
||||
writeln('ERROR in gtk-interface: ',Msg);
|
||||
// creates an exception, that gdb catches:
|
||||
writeln('Creating gdb catchable error:');
|
||||
if (length(Msg) div (length(Msg) div 10000))=0 then ;
|
||||
end;
|
||||
|
||||
initialization
|
||||
SendApplicationMessageFunction:=nil;
|
||||
OwnerFormDesignerModifiedProc:=nil;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user