]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Fix evaluation of method calls under EVAL_SKIP.
authorSiva Chandra <sivachandra@chromium.org>
Sat, 18 Oct 2014 13:14:00 +0000 (06:14 -0700)
committerSiva Chandra <sivachandra@chromium.org>
Tue, 4 Nov 2014 02:01:39 +0000 (18:01 -0800)
commite0f52461c2467b6610391681fa27cd9b3c5def57
treedd366cad441389a5483994a0c6ad2454464ac4e2
parentf868b157aa4079bcdcb482b6b6634b5df8f74dbd
Fix evaluation of method calls under EVAL_SKIP.

When evaluating method calls under EVAL_SKIP, the "object" and the
arguments to the method should also be evaluated under EVAL_SKIP,
instead of skipping to evaluate them as was being done previously.

gdb/ChangeLog:

PR c++/17494
* eval.c (evaluate_subexp_standard): Evaluate the "object" and
the method args also under EVAL_SKIP when evaluating method
calls under EVAL_SKIP.

gdb/testsuite/ChangeLog:

PR c++/17494
* gdb.cp/pr17494.cc: New file.
* gdb.cp/pr17494.exp: New file.
gdb/ChangeLog
gdb/eval.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/pr17494.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/pr17494.exp [new file with mode: 0644]