This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/Patch v4] Call overloaded operators to perform valid Python operations on struct/class values.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: sivachandra at google dot com
- Cc: dje at google dot com, gdb-patches at sourceware dot org, tromey at redhat dot com
- Date: Sun, 02 Feb 2014 23:02:56 +0200
- Subject: Re: [RFC/Patch v4] Call overloaded operators to perform valid Python operations on struct/class values.
- Authentication-results: sourceware.org; auth=none
- References: <CAGyQ6gzw6mtACKk3L13ULQMa8EB8=939nP5R82HO6gcXTMXijw at mail dot gmail dot com> <83zjm92puy dot fsf at gnu dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 02 Feb 2014 22:59:01 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: dje@google.com, gdb-patches@sourceware.org, tromey@redhat.com
>
> > Date: Sun, 2 Feb 2014 12:06:31 -0800
> > From: Siva Chandra <sivachandra@google.com>
> > Cc: gdb-patches <gdb-patches@sourceware.org>, Tom Tromey <tromey@redhat.com>
> >
> > +operator. In general, overloaded operators are invoked for the
> > +following operators: @code{+} (binary addition), @code{-} (binary
> ^^^^^^^^^
> I'd suggest "operations" here.
>
> > +subtraction), @code{*} (multiplication), @code{/}, @code{%}, @code{<<},
> > +@code{>>}, @code{|}, @code{&}, @code{^}.
>
> OK with those changes.
Another gotcha that somehow got deleted from the mail I prepared:
> +For example, if @code{val1}and @code{val2} are @code{gdb.Value} objects
^^
Missing space.