mirror of https://gitlab.com/basile.b/dexed.git
style
This commit is contained in:
parent
7c35bceb12
commit
92cf60b04b
|
@ -2882,7 +2882,7 @@ const
|
||||||
var
|
var
|
||||||
cmd : string;
|
cmd : string;
|
||||||
begin
|
begin
|
||||||
cmd := format(spec, [GetEnumName(typeinfo(TCpuRegister),integer(reg)), val]);
|
cmd := format(spec, [GetEnumName(typeinfo(TCpuRegister), integer(reg)), val]);
|
||||||
gdbCommand(cmd);
|
gdbCommand(cmd);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -2892,7 +2892,17 @@ const
|
||||||
var
|
var
|
||||||
cmd : string;
|
cmd : string;
|
||||||
begin
|
begin
|
||||||
cmd := format(spec, [GetEnumName(typeinfo(TSegRegister),integer(reg)), val]);
|
cmd := format(spec, [GetEnumName(typeinfo(TSegRegister), integer(reg)), val]);
|
||||||
|
gdbCommand(cmd);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TGdbWidget.setFpr(reg: TFpuRegister; val: extended);
|
||||||
|
const
|
||||||
|
spec = 'set $%s = %.18g';
|
||||||
|
var
|
||||||
|
cmd : string;
|
||||||
|
begin
|
||||||
|
cmd := format(spec, [GetEnumName(typeinfo(TFpuRegister), integer(reg)), val]);
|
||||||
gdbCommand(cmd);
|
gdbCommand(cmd);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -2905,16 +2915,6 @@ begin
|
||||||
cmd := format(spec, [val]);
|
cmd := format(spec, [val]);
|
||||||
gdbCommand(cmd);
|
gdbCommand(cmd);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGdbWidget.setFpr(reg: TFpuRegister; val: extended);
|
|
||||||
const
|
|
||||||
spec = 'set $%s = %.18g';
|
|
||||||
var
|
|
||||||
cmd : string;
|
|
||||||
begin
|
|
||||||
cmd := format(spec, [GetEnumName(typeinfo(TFpuRegister),integer(reg)), val]);
|
|
||||||
gdbCommand(cmd);
|
|
||||||
end;
|
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
|
Loading…
Reference in New Issue