This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cli/890: gdb does not recognize C floating point suffixes.


>Number:         890
>Category:       cli
>Synopsis:       gdb does not recognize C floating point suffixes.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 16 02:38:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     rearnsha@arm.com
>Release:        unknown-1.0
>Organization:
>Environment:
Any
>Description:
when the language is 'c', gdb fails to parse the following on the command line

print 1.6F
print 1.6L

(gdb prints 'Invalid number "1.6l".')

They should be parsed as floating point constants of type float and long double respectively.
>How-To-Repeat:
See description
>Fix:

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]