This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/32: sparc can't handle long arg list with small structures
- To: gdb-gnats at sources dot redhat dot com
- Subject: gdb/32: sparc can't handle long arg list with small structures
- From: chastain at redhat dot com
- Date: 22 Feb 2001 06:20:42 -0000
- Reply-To: chastain at redhat dot com
>Number: 32
>Category: gdb
>Synopsis: sparc can't handle long arg list with small structures
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 21 22:28:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: chastain@redhat.com
>Release: gdb cvs 2001-02-21, gcc cvs gcc-3_0-branch 2001-02-21
>Organization:
>Environment:
Solaris 2.6 native
>Description:
In test case gdb.base/call-ar-st.exp, gdb does the wrong
thing in the following test:
(gdb) print print_small_structs(struct1, struct2, struct3,
struct4, flags, flags_combo, three_char, five_char,
int_char_combo, d1, d2, d3, f1, f2, f3)
Invalid cast.
(gdb)
What's more, the test script does not consider this a FAIL.
It considers this an XFAIL.
>How-To-Repeat:
Run the gdb test suite.
Examine the output for gdb.base/call-ar-st.exp.
>Fix:
(1) Fix the test script so that the test FAILs if gdb does
not produce correct output.
(2) Fix gdb to handle this case properly.
>Release-Note:
>Audit-Trail:
>Unformatted: