This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
tdep/1624: amd64 can't "return" integer, enum, and long double types
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Apr 2004 23:24:14 -0000
- Subject: tdep/1624: amd64 can't "return" integer, enum, and long double types
- Reply-to: ac131313 at redhat dot com
>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: