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