eclipse-cdt-cloud / eclipse-cdt-cloud/cdt-gdb-adapter
[Discussion] Floating Point registers should be shown in natural format not hex
- Dominant language
- TypeScript
- Stars
- 39
- Forks
- 56
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.