[PATCH] PR c++/17494 - Fix evaluation of method calls under EVAL_SKIP

Siva Chandra sivachandra@google.com
Mon Oct 27 17:22:00 GMT 2014


On Mon, Oct 20, 2014 at 12:11 PM, Siva Chandra <sivachandra@google.com> wrote:
> 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. Getting this right fixes PR
> c++/17494.
>
> gdb/ChangeLog:
>
> 2014-10-20  Siva Chandra Reddy  <sivachandra@google.com>
>
>         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:
>
> 2014-10-20  Siva Chandra Reddy  <sivachandra@google.com>
>
>         PR c++/17494
>         * gdb.cp/pr17494.cc: New file.
>         * gdb.cp/pr17494.exp: New file.

Ping.



More information about the Gdb-patches mailing list