From 827d0c517e2000102ac7d457109baa63e085c435 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 4 Sep 2017 20:21:14 +0100 Subject: 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 * eval.c (eval_skip_value): New function. (evaluate_subexp_standard): Use it. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') 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 + * eval.c (eval_skip_value): New function. + (evaluate_subexp_standard): Use it. + +2017-09-04 Pedro Alves + * eval.c (evaluate_subexp_standard): : Extract function name from symbol/minsym and pass it to error_call_unknown_return_type. -- cgit v1.1