mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 06:55:59 +02:00
FpDebug: Fixed compilation after recent changes and with fpc 2.6.2
git-svn-id: trunk@44632 -
This commit is contained in:
parent
464b450a90
commit
813e158c7d
@ -85,7 +85,7 @@ type
|
||||
constructor Create(ADbgProcess: TDbgProcess);
|
||||
function ReadMemory(AnAddress: TDbgPtr; ASize: Cardinal; ADest: Pointer): Boolean; override;
|
||||
function ReadMemoryEx(AnAddress, AnAddressSpace: TDbgPtr; ASize: Cardinal; ADest: Pointer): Boolean; override;
|
||||
function ReadRegister(ARegNum: Cardinal; out AValue: TDbgPtr): Boolean; override;
|
||||
function ReadRegister(ARegNum: Cardinal; out AValue: TDbgPtr; AContext: TFpDbgAddressContext): Boolean; override;
|
||||
function RegisterSize(ARegNum: Cardinal): Integer; override;
|
||||
end;
|
||||
|
||||
@ -312,15 +312,11 @@ begin
|
||||
FDbgProcess.ReadData(AnAddress, ASize, ADest^);
|
||||
end;
|
||||
|
||||
function TDbgMemReader.ReadRegister(ARegNum: Cardinal; out AValue: TDbgPtr): Boolean;
|
||||
function TDbgMemReader.ReadRegister(ARegNum: Cardinal; out AValue: TDbgPtr; AContext: TFpDbgAddressContext): Boolean;
|
||||
begin
|
||||
result := true;
|
||||
case ARegNum of
|
||||
// ToDo: Link the Dwarf-register-numbers to the actual registers.
|
||||
// 0: AValue:=FDbgProcess.MainThread.RegisterValueList.GetDbgRegister('eax').NumValue;
|
||||
else
|
||||
result := false;
|
||||
end
|
||||
result := false;
|
||||
// ToDo: Link the Dwarf-register-numbers to the actual registers.
|
||||
// AValue:=FDbgProcess.MainThread.RegisterValueList.GetDbgRegister('eax').NumValue;
|
||||
end;
|
||||
|
||||
function TDbgMemReader.RegisterSize(ARegNum: Cardinal): Integer;
|
||||
|
@ -125,7 +125,7 @@ end;
|
||||
|
||||
procedure TFPWatches.InternalRequestData(AWatchValue: TWatchValue);
|
||||
var
|
||||
AContext: TDbgInfoAddressContext;
|
||||
AContext: TFpDbgInfoContext;
|
||||
AController: TDbgController;
|
||||
APasExpr: TFpPascalExpression;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user