[Bug cli/16242] print format for hex float
b7.10110111 at gmail dot com
sourceware-bugzilla@sourceware.org
Sat Jul 29 11:24:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=16242
--- Comment #2 from Ruslan <b7.10110111 at gmail dot com> ---
There is /z format, which for floating-point values appears to print raw data.
The only problem is that this isn't documented. Instead, `help x` says "x(hex)"
and "z(hex, zero padded on the left)", without mentioning that the former
converts to integer while the latter prints true raw value.
I guess the fix for this would be to make the documentation correct and to add
some tests checking that the documentation matches actual behavior.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list