mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 13:50:29 +02:00
+ add test for now fixed #40639
This commit is contained in:
parent
ea102d792f
commit
60c94c50ff
51
tests/webtbs/tw40639.pp
Normal file
51
tests/webtbs/tw40639.pp
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
{ %NORUN }
|
||||||
|
|
||||||
|
program tw40639;
|
||||||
|
{$mode objfpc}
|
||||||
|
{$ModeSwitch typehelpers}
|
||||||
|
type
|
||||||
|
TDBGPtr = qword;
|
||||||
|
|
||||||
|
TFpBreakPointMap = class abstract
|
||||||
|
strict protected type
|
||||||
|
{ TFpBreakPointMapEntry }
|
||||||
|
TFpBreakPointMapEntry = packed record
|
||||||
|
InternalBreakPoint: Pointer; // TFpInternalBreakpoint or TFpInternalBreakpointArray
|
||||||
|
IsBreakList: ByteBool;
|
||||||
|
end;
|
||||||
|
PFpBreakPointMapEntry = ^TFpBreakPointMapEntry;
|
||||||
|
|
||||||
|
{ TFpBreakPointMapLocDataPair }
|
||||||
|
TFpBreakPointMapLocDataPair = record
|
||||||
|
Location: TDBGPtr;
|
||||||
|
Data: PFpBreakPointMapEntry;
|
||||||
|
end;
|
||||||
|
|
||||||
|
//TFpBreakPointMapLocDataPairHelper = type helper for TFpBreakPointMapLocDataPair
|
||||||
|
// function OrigValue: Byte;
|
||||||
|
// function ErrorSetting: ByteBool;
|
||||||
|
//end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
TBreakLocationMap = class(TFpBreakPointMap)
|
||||||
|
strict protected type
|
||||||
|
TFpBreakPointMapLocDataPairHelper = type helper for TFpBreakPointMapLocDataPair
|
||||||
|
function OrigValue: Byte;
|
||||||
|
function ErrorSetting: ByteBool;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TBreakLocationMap.TFpBreakPointMapLocDataPairHelper.OrigValue: Byte;
|
||||||
|
begin
|
||||||
|
Result := 0;
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TBreakLocationMap.TFpBreakPointMapLocDataPairHelper.ErrorSetting: ByteBool;
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user