diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-10-24 18:01:39 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-10-24 18:01:39 +0200 |
commit | 8ba0dd515c1ba23318f28c6bb04c9da573855b50 (patch) | |
tree | af57478382ceb88d7d664f38efcfbd72994d0e71 /gdb/ChangeLog | |
parent | 16e812b29e68c4a6fcad73b033716c4f385ce94f (diff) | |
download | gdb-8ba0dd515c1ba23318f28c6bb04c9da573855b50.zip gdb-8ba0dd515c1ba23318f28c6bb04c9da573855b50.tar.gz gdb-8ba0dd515c1ba23318f28c6bb04c9da573855b50.tar.bz2 |
Target FP printing: Use floatformat_to_string in tdep code
A few tdep files use target-specific printing routines to output values in
the floating-point registers. To get rid of host floating-point code,
this patch changes them to use floatformat_to_string instead.
No functional change intended, the resulting output should look the same.
ChangeLog:
2017-10-24 Ulrich Weigand <uweigand@de.ibm.com>
* i387-tdep.c (print_i387_value): Use floatformat_to_string.
* sh64-tdep.c (sh64_do_fp_register): Likewise.
* mips-tdep.c (mips_print_fp_register): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81acf04..b84ec6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2017-10-24 Ulrich Weigand <uweigand@de.ibm.com> + * i387-tdep.c (print_i387_value): Use floatformat_to_string. + * sh64-tdep.c (sh64_do_fp_register): Likewise. + * mips-tdep.c (mips_print_fp_register): Likewise. + +2017-10-24 Ulrich Weigand <uweigand@de.ibm.com> + * common/format.h (enum argclass): Replace decfloat_arg by dec32float_arg, dec64float_arg, and dec128float_arg. * common/format.c (parse_format_string): Update to return |