From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Test struct0
Date: Tue, 10 Feb 2004 21:07:00 -0000 [thread overview]
Message-ID: <40294826.7080306@gnu.org> (raw)
In-Reply-To: <40203797.8010607@gnu.org>
> 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?
I'm dropping this patch - it isn't valid C. If someone want's to come
up with a C++ equivalent, feel free.
Andrew
prev parent reply other threads:[~2004-02-10 21:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 0:06 Andrew Cagney
2004-02-04 0:46 ` Daniel Jacobowitz
2004-02-04 1:34 ` Joel Brobecker
2004-02-04 15:52 ` Andrew Cagney
2004-02-04 15:59 ` Daniel Jacobowitz
2004-02-10 21:07 ` Andrew Cagney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40294826.7080306@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox