gdb/199: Eliminate IEEE_FLOAT, rewrite valprint.c:print_floating()

ac131313@cygnus.com ac131313@cygnus.com
Thu Aug 23 21:48:00 GMT 2001


>Number:         199
>Category:       gdb
>Synopsis:       Eliminate IEEE_FLOAT, rewrite valprint.c:print_floating()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 23 21:48:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@cygnus.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
Both the macro and the code are, er, unfortunate.

- `struct type' now has TYPE_FLOATFORMAT available so all the guff mapping TYPE onto a fmt can just go.

- unpack_double() shouldn't be needed.

- the magic to guess how to print the actual type should be replaced with something that uses the knowledge carried by TYPE_FLOATFORMAT() or even a floatformat function that prints the value directly.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list