]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support printing of 16 byte real/complex type for Flang compiler
authorAlok Kumar Sharma <AlokKumar.Sharma@amd.com>
Thu, 3 Sep 2020 16:21:01 +0000 (21:51 +0530)
committerAlok Kumar Sharma <AlokKumar.Sharma@amd.com>
Thu, 3 Sep 2020 16:27:16 +0000 (21:57 +0530)
commite56798df08154c6e5155d3bb6cb536a14de0ebb4
tree55c59677a0d2976e9f13ac3474681b6270487a42
parent0316fb52d6eaca5f2398843f57ba08f8d3746056
Support printing of 16 byte real/complex type for Flang compiler

Currently GDB is not able to print correct value for real/complex type
from binary generated from Flang compiler. This is due to GDB not able
to recognise and determine correct format floatformats_ia64_quad and
instead falling back to default_floatformat_for_type. This leads
incorrect output.
Now function i386_floatformat_for_type is fixed to correctly identify
Flang generated 16 byte real/complex type.

gdb/ChangeLog

* gdb/i386-tdep.c (i386_floatformat_for_type): Added conditions
to match 16 byte real/complex type generated by Flang compiler.
gdb/ChangeLog
gdb/i386-tdep.c