This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: c++/911: calling user-defined operators in gdb
- From: mec at shout dot net
- To: gdb-prs at sources dot redhat dot com, kraftche at cae dot wisc dot edu, nobody at sources dot redhat dot com
- Date: 8 Jan 2003 20:00:01 -0000
- Subject: Re: c++/911: calling user-defined operators in gdb
- Reply-to: mec at shout dot net, gdb-prs at sources dot redhat dot com, kraftche at cae dot wisc dot edu, nobody at sources dot redhat dot com, gdb-gnats at sources dot redhat dot com
Synopsis: calling user-defined operators in gdb
State-Changed-From-To: open->analyzed
State-Changed-By: chastain
State-Changed-When: Wed Jan 8 11:59:59 2003
State-Changed-Why:
I mailed in some analysis (see the audit trail).
Basically, c-exp.y does not understand that 'operator==' is a lexeme in the expression 'f0.operator==(f1)', so == gets parsed as a binop.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=911