[patch/rfc] Rewrite "structs" testcase

Andrew Cagney ac131313@redhat.com
Wed Nov 5 22:17:00 GMT 2003


The attached rewrites the "structs" testcase, greatly increasing its 
coverage of struct return inferior function call edge cases.  Of note 
the patch:

- hacks structs.c so that it can be built to test almost any scalar 
struct return construct

- rewrites structs.exp to build structs.c / test structs.c with several 
combinations of char, short, int, long, long long, float, double, and 
long double.

- since the bug that stopped GDB finding inferior function call struct 
return values has been fixed, it expects all tests to pass

Look ok?  Tested on PPC.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031105/ec90dedf/attachment.ksh>

More information about the Gdb-patches mailing list