aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@chromium.org>2014-07-09 10:25:48 -0700
committerSiva Chandra <sivachandra@chromium.org>2014-08-15 18:28:59 -0700
commite66d44466912ecf581f6b67ff299d064c7bf4f1a (patch)
tree447ff1714ecb2c4bce548c8565e0102feb489cc8 /gdb/ChangeLog
parent940df408121be31beed22ef7a5ad133cb1592726 (diff)
downloadgdb-e66d44466912ecf581f6b67ff299d064c7bf4f1a.zip
gdb-e66d44466912ecf581f6b67ff299d064c7bf4f1a.tar.gz
gdb-e66d44466912ecf581f6b67ff299d064c7bf4f1a.tar.bz2
Add new argument NOSIDE to find_overload_match.
This is a fix for PR c++/17132. If this new argument is set to EVAL_AVOID_SIDE_EFFECTS, then the object's memory will not be read while picking the best overload match. gdb/ * eval.c: Update all calls to find_overload_match. * valarith.c: Likewise. (value_user_defined_cpp_op, value_user_defined_op): New argument NOSIDE. Update all callers. * valops.c (find_overload_match): New argument NOSIDE. * value.h (find_overload_match): Update signature. gdb/testsuite * gdb.cp/pr17132.cc: New file. * gdb.cp/pr17132.exp: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6bcd1c0..0c5e3a1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,15 @@
2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
+ PR c++/17132
+ * eval.c: Update all calls to find_overload_match.
+ * valarith.c: Likewise.
+ (value_user_defined_cpp_op, value_user_defined_op): New
+ argument NOSIDE. Update all callers.
+ * valops.c (find_overload_match): New argument NOSIDE.
+ * value.h (find_overload_match): Update signature.
+
+2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
+
* python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
'items' methods instead of 'iteritems' method on dictionaries.