mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 10:40:13 +02:00
* use the AsQWord and AsLongWord methods to do the conversion in TGDBMI_Value.AsCoreAddr
git-svn-id: trunk@30175 -
This commit is contained in:
parent
44f272ca3f
commit
e87ce29a4e
@ -207,11 +207,11 @@ end;
|
||||
function TGDBMI_Value.AsCoreAddr: CORE_ADDR;
|
||||
begin
|
||||
{$if defined(TARGET_IS_64BIT)}
|
||||
Result := StrToQWord(C2PascalNumberPrefix(AsString));
|
||||
Result := AsQWord;
|
||||
{$elseif defined(CPU64)}
|
||||
Result := StrToQWord(C2PascalNumberPrefix(AsString));
|
||||
Result := AsQWord;
|
||||
{$else}
|
||||
Result := StrToLongWord(C2PascalNumberPrefix(AsString));
|
||||
Result := AsLongWord;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user