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]

tdep/1623: i386 can't return floats


>Number:         1623
>Category:       tdep
>Synopsis:       i386 can't return floats
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 23 23:28:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Cagney
>Release:        2004-04-23
>Organization:
>Environment:
i386 GNU/Linux
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-24)

>Description:
GDB can't "return" floating point values vis:

(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tf (float)
ptype foo
type = float
(gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tf float
...

(gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tf
return foo
Make fun return now? (y or n) y
#0  main () at /home/cygnus/cagney/PENDING/YYYY-MM-DD-scalars-exp/src/gdb/testsuite/gdb.base/ca
ll-sc.c:78
78            L = fun ();       
(gdb) next
79            zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tf
p/c L
$4 = 0 '\0'
(gdb) KFAIL: gdb.base/call-sc.exp: value foo returned; return call-sc-tf (PRMS: gdb/...)
>How-To-Repeat:

>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]