diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-10-19 20:53:15 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-10-19 20:53:15 +0000 |
commit | 79afc5ef5d41c629c2e26eee37aaceac4320b8d6 (patch) | |
tree | e5f34b6aea162a5e90b100321fa14c9340a9f287 /gdb/ChangeLog | |
parent | cca56ac7aecdfc4ba5db742e6505e80d79e28931 (diff) | |
download | gdb-79afc5ef5d41c629c2e26eee37aaceac4320b8d6.zip gdb-79afc5ef5d41c629c2e26eee37aaceac4320b8d6.tar.gz gdb-79afc5ef5d41c629c2e26eee37aaceac4320b8d6.tar.bz2 |
Support overloading of 'operator->'.
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
PR C++/11500:
* valarith.c (value_x_unop): Handle STRUCTOP_PTR.
* eval.c (evaluate_subexp_standard): Check for overload of
'operator->'.
* valarith.c (value_x_binop): Throw NOT_FOUND_ERROR.
(value_x_unop): Ditto.
* valops.c: Include "exceptions.h".
(find_overload_match): Throw NOT_FOUND_ERROR.
(value_struct_elt): Ditto.
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/smartp.exp: New test.
* gdb.cp/smartp.cc : New test.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d2b0c89..13336ba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> + + PR C++/11500: + * valarith.c (value_x_unop): Handle STRUCTOP_PTR. + * eval.c (evaluate_subexp_standard): Check for overload of + 'operator->'. + * valarith.c (value_x_binop): Throw NOT_FOUND_ERROR. + (value_x_unop): Ditto. + * valops.c: Include "exceptions.h". + (find_overload_match): Throw NOT_FOUND_ERROR. + (value_struct_elt): Ditto. + 2010-10-19 Tom Tromey <tromey@redhat.com> * python/py-cmd.c (cmdpy_function): Unreference exception state. |