diff options
author | Pedro Alves <palves@redhat.com> | 2017-09-04 20:21:14 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-09-04 20:21:14 +0100 |
commit | 827d0c517e2000102ac7d457109baa63e085c435 (patch) | |
tree | 548989b64b15b3d256c27d0c5561d4e1366d19b9 /gdb/ChangeLog | |
parent | 2c5a2be1902b50e34411baa57ff0b747e8e20e8b (diff) | |
download | gdb-827d0c517e2000102ac7d457109baa63e085c435.zip gdb-827d0c517e2000102ac7d457109baa63e085c435.tar.gz gdb-827d0c517e2000102ac7d457109baa63e085c435.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 105c1db..2858398 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-09-04 Pedro Alves <palves@redhat.com> + * eval.c (eval_skip_value): New function. + (evaluate_subexp_standard): Use it. + +2017-09-04 Pedro Alves <palves@redhat.com> + * eval.c (evaluate_subexp_standard): <OP_FUNCALL>: Extract function name from symbol/minsym and pass it to error_call_unknown_return_type. |