mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 16:58:54 +02:00
Debugger, Gdbmi: set register validity if numeric value of different display format is requested. Issue #41578
This commit is contained in:
parent
b42caeb972
commit
47c395bf03
@ -2043,7 +2043,7 @@ function TGDBMIDebuggerCommandRegisterUpdate.DoExecute: Boolean;
|
||||
RegValObj.SetAsNum(Num, FTheDebugger.TargetPtrSize);
|
||||
RegValObj.AddFormats([rdBinary, rdDecimal, rdOctal, rdHex]);
|
||||
end;
|
||||
if AFormat = RegVal.DisplayFormat then
|
||||
if (AFormat = RegVal.DisplayFormat) or RegVal.HasValue {Has current required disp-format} then
|
||||
RegVal.DataValidity := ddsValid;
|
||||
end;
|
||||
FreeAndNil(List);
|
||||
|
Loading…
Reference in New Issue
Block a user