[patch/rfc] Rewrite "structs" testcase

Andrew Cagney ac131313@redhat.com
Mon Nov 17 15:59:00 GMT 2003


> 
>   # gcc 3.3.2, binutils 2.14, -gdwarf-2
> 
>   p/c fun2()
>   $1 = {a = 97 'a', b = 0 '\0'}
>   (gdb) FAIL: gdb.base/structs.exp: p/c fun2(); call 2 structs-tc-tll
> 
>   p/c L2
>   $2 = {a = 97 'a', b = 0 '\0'}
>   (gdb) FAIL: gdb.base/structs.exp: p/c L2; call 2 structs-tc-tll
> 
>   p/c fun2()
>   $1 = {a = 97 'a', b = 0 '\0'}
>   (gdb) FAIL: gdb.base/structs.exp: p/c fun2(); call 2 structs-tc-td
> 
>   p/c L2
>   $2 = {a = 97 'a', b = 0 '\0'}
>   (gdb) FAIL: gdb.base/structs.exp: p/c L2; call 2 structs-tc-td 

The attached hopefully KFAILs these.  It needs my other compiler tweak.

Andrew

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: structs.c
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031117/04e3e9c0/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: structs.exp
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20031117/04e3e9c0/attachment.ksh>


More information about the Gdb-patches mailing list