From: Daniel Jacobowitz <drow@false.org>
To: Nathan Sidwell <nathan@codesourcery.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Unary plus
Date: Tue, 08 Mar 2005 13:40:00 -0000 [thread overview]
Message-ID: <20050308133958.GC7417@nevyn.them.org> (raw)
In-Reply-To: <422D838D.3090108@codesourcery.com>
On Tue, Mar 08, 2005 at 10:50:53AM +0000, Nathan Sidwell wrote:
> Daniel Jacobowitz wrote:
> >Two comments:
> >
> >- Could you add a non-tracepoint testcase for this? I think one good
> >place would be gdb.cp/userdef.exp.
> done. As this overloads operator+, I introduced a new class for
> the breakpoint test.
>
>
> >>! if (TYPE_CODE (type) == TYPE_CODE_FLT)
> >>! return arg1;
> >
> >
> >- IIUC, that's not quite right - we need an rvalue here.
>
> Like this?
>
> built and tested on i686-pc-linux-gnu, ok?
OK. This comment isn't quite right after the rvalue fix:
> ! /* The unary operators - and ~. Both free the argument ARG1. */
>
> struct value *
> value_neg (struct value *arg1)
> --- 1316,1350 ----
> }
> }
> \f
> ! /* The unary operators +, - and ~. They free the argument ARG1
> ! (unless it is returned). */
--
Daniel Jacobowitz
CodeSourcery, LLC
prev parent reply other threads:[~2005-03-08 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-09 13:37 Nathan Sidwell
2005-02-27 4:22 ` Daniel Jacobowitz
2005-03-08 10:51 ` Nathan Sidwell
2005-03-08 13:40 ` Daniel Jacobowitz [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=20050308133958.GC7417@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=nathan@codesourcery.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