From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] gdb.c++/method.exp
Date: Mon, 08 Apr 2002 07:37:00 -0000 [thread overview]
Message-ID: <20020408103702.A24331@nevyn.them.org> (raw)
In-Reply-To: <200204080721.g387Lfe09282@duracef.shout.net>
On Mon, Apr 08, 2002 at 02:21:41AM -0500, Michael Elizabeth Chastain wrote:
> I am committing the following patch to gdb.c++/method.exp.
>
> This cleans up the script considerably. It also fixes several spurious
> FAILs by accepting "A * const" and "const A * const".
>
> After applying this patch, there is still 1 FAIL in two configurations:
> "print this in A::bar" still FAILs on native i686-pc-linux-gnu with
> gcc gcc-3_1-branch and gcc HEAD.
Erm... did we reach a conclusion about whether those const's were
really optional? In a const method, there should be a const on the
type of 'this'. Obviously we won't get it in g++2.95/stabs, and I
think we agreed that the latter const is optional (on the *); but the
const on 'A' should be part of the type of this for a const method.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-04-08 14:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 0:21 Michael Elizabeth Chastain
2002-04-08 7:37 ` Daniel Jacobowitz [this message]
2002-04-08 0:26 Michael Elizabeth Chastain
2002-04-08 8:12 Michael Elizabeth Chastain
2002-04-08 8:19 ` Daniel Jacobowitz
2002-04-08 10:17 Michael Elizabeth Chastain
2002-04-08 11:43 ` Daniel Jacobowitz
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=20020408103702.A24331@nevyn.them.org \
--to=drow@mvista.com \
--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