diff options
author | Pedro Alves <palves@redhat.com> | 2017-09-05 12:13:57 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-09-05 12:13:57 +0100 |
commit | e69570ee1886d64fb60c5d9d31f2e6ed76ab2dfc (patch) | |
tree | d281b4bfd02d3507a9fd39ae0e2ce1b6e9e28803 /gdb/objfiles.c | |
parent | f17e9d8ab58474cfa24910f9066f3b9823e190e7 (diff) | |
download | binutils-e69570ee1886d64fb60c5d9d31f2e6ed76ab2dfc.zip binutils-e69570ee1886d64fb60c5d9d31f2e6ed76ab2dfc.tar.gz binutils-e69570ee1886d64fb60c5d9d31f2e6ed76ab2dfc.tar.bz2 |
eval.c:evaluate_subexp_standard: Factor out function call handling
While working on the no-debug-info debugging improvements, I found
evaluate_subexp_standard's function call code unnecessarily long and
hard to navigate and debug. The use of goto doesn't help either.
This commit tries to improve things by factoring out the
function-call-related code to separate helper functions.
gdb/ChangeLog:
2017-09-05 Pedro Alves <palves@redhat.com>
* eval.c (eval_call, evaluate_funcall): New functions, factored
out from ...
(evaluate_subexp_standard): ... this.
Diffstat (limited to 'gdb/objfiles.c')
0 files changed, 0 insertions, 0 deletions