aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-10-19 20:53:15 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-10-19 20:53:15 +0000
commit79afc5ef5d41c629c2e26eee37aaceac4320b8d6 (patch)
treee5f34b6aea162a5e90b100321fa14c9340a9f287 /gdb/testsuite
parentcca56ac7aecdfc4ba5db742e6505e80d79e28931 (diff)
downloadgdb-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/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 824796e..2bdc9d0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
+ * gdb.cp/smartp.exp: New test.
+ * gdb.cp/smartp.cc : New test.
+
+2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
+
* gdb.cp/converts.exp: Test pointer to bool conversion.
Test pointer to long conversion.
* gdb.cp/oranking.exp: Removed relevant kfail.