evaluate_subexp_standard: Eliminate one goto
authorPedro Alves <palves@redhat.com>
Mon, 4 Sep 2017 19:21:14 +0000 (20:21 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 4 Sep 2017 19:21:14 +0000 (20:21 +0100)
commit827d0c517e2000102ac7d457109baa63e085c435
tree548989b64b15b3d256c27d0c5561d4e1366d19b9
parent2c5a2be1902b50e34411baa57ff0b747e8e20e8b
evaluate_subexp_standard: Eliminate one goto

A following patch will want to factor out a bit of
evaluate_subexp_standard, and it'd be handy to reuse the code under the
"nosideret:" label there too.  This commits moves it to a separate
function as preparation for that.

gdb/ChangeLog:
2017-09-04  Pedro Alves  <palves@redhat.com>

* eval.c (eval_skip_value): New function.
(evaluate_subexp_standard): Use it.
gdb/ChangeLog
gdb/eval.c