diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-04-19 13:28:35 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-04-19 13:28:35 +0200 |
commit | 9a8041fd94b7b5c12cb802f87648cce954d18d2a (patch) | |
tree | 0c3070b7a9525345185ba17ef4ff6efba4be9978 /gas/doc | |
parent | 4dee4f3ea143a8910de487a810e972152154292d (diff) | |
download | gdb-9a8041fd94b7b5c12cb802f87648cce954d18d2a.zip gdb-9a8041fd94b7b5c12cb802f87648cce954d18d2a.tar.gz gdb-9a8041fd94b7b5c12cb802f87648cce954d18d2a.tar.bz2 |
gas: drop sprint_value()
Its (documented) behavior is unhelpful in particular in 64-bit build
environments: While printing large 32-bit numbers in decimal already
isn't very meaningful to most people, this even more so goes for yet
larger 64-bit numbers. bfd_sprintf_vma() still tries to limit the number
of digits printed (without depending on a build system property), but
uniformly produces hex output.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/internals.texi | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 3b345d5..91ef975 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -1918,13 +1918,6 @@ after all input has been read, but messages about fixups should refer to the original filename and line number that they are applicable to. @end deftypefun -@deftypefun @{@} void sprint_value (char *@var{buf}, valueT @var{val}) -This function is helpful for converting a @code{valueT} value into printable -format, in case it's wider than modes that @code{*printf} can handle. If the -type is narrow enough, a decimal number will be produced; otherwise, it will be -in hexadecimal. The value itself is not examined to make this determination. -@end deftypefun - @node Test suite @section Test suite @cindex test suite |