Floating point registers available in the registers scope of the variables window are all shown in hex. This is of course due to the fact that in the method handleVariableRequestRegister the function call await mi.sendDataListRegisterValues(this.gdb, {fmt: 'x', frameRef,}); has the argument x, which causes all registers to be viewed in hex.
For showing values of floating point registers as floats, I had the idea of changing the fmt argument to N. However, that would cause core registers to be viewed in decimal, which is not an ideal solution either.
One of the problems, imo, is that GDB doesn't have a command in which users can request register readings for a specific register.
@asimgunes @cwalther @jonahgraham any thoughts would be much appreciated.
Floating point registers available in the registers scope of the variables window are all shown in hex. This is of course due to the fact that in the method
handleVariableRequestRegisterthe function callawait mi.sendDataListRegisterValues(this.gdb, {fmt: 'x', frameRef,});has the argumentx, which causes all registers to be viewed in hex.For showing values of floating point registers as floats, I had the idea of changing the
fmtargument toN. However, that would cause core registers to be viewed in decimal, which is not an ideal solution either.One of the problems, imo, is that GDB doesn't have a command in which users can request register readings for a specific register.
@asimgunes @cwalther @jonahgraham any thoughts would be much appreciated.