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/1624: amd64 can't "return" integer, enum, and long double types


>Number:         1624
>Category:       tdep
>Synopsis:       amd64 can't "return" integer, enum, and long double types
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>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:

>Description:
GDB can't correctly "return" integer, enumerated and long double types vis:

(gdb) ptype tc
type = char
(gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tc (char)
...
(gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tc
return foo
Make fun return now? (y or n) y
#0  main () at /home/cygnus/cagney/PENDING/YYYY-MM-DD-scalars-exp/src/gdb/testsu
ite/gdb.base/call-sc.c:78
78            L = fun ();       
(gdb) next
79            zed ();
(gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tc
p/c L
$4 = 0 '\0'
(gdb) KFAIL: gdb.base/call-sc.exp: value foo returned; return call-sc-tc (PRMS: 
>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]