[patch/rfc] Test struct0
Andrew Cagney
cagney@gnu.org
Wed Feb 4 00:06:00 GMT 2004
Hello,
This adds a test for:
struct foo0 { };
to the structs.exp testcase (I'm assuming that this is legal ISO-C), it
passes on PPC with stabs with:
> (gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tc
> p/c fun0()
> $1 = {<No data fields>}
Tt was intended for completness, however with a dwarf2 compiler:
amd64$ gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
> (gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tc
> p/c fun0()
> $1 = <incomplete type>
I guess I should file a bug report and kfail it?
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040204/c67f6abc/attachment.ksh>
More information about the Gdb-patches
mailing list