diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 15:55:09 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 15:55:09 +0200 |
commit | 558e5469679897ee57ad6706074f55ff4952cf43 (patch) | |
tree | 2f2eceaf974c6eb9ac261bbddc1940c2502bd23c /gdb/infcall.c | |
parent | ebfd00d210ca6190239140b250499e194fd5af20 (diff) | |
download | gdb-558e5469679897ee57ad6706074f55ff4952cf43.zip gdb-558e5469679897ee57ad6706074f55ff4952cf43.tar.gz gdb-558e5469679897ee57ad6706074f55ff4952cf43.tar.bz2 |
dummy_frame_dtor_ftype vs. call_function_by_hand_dummy_dtor_ftype cleanup
Both dummy_frame_dtor_ftype and call_function_by_hand_dummy_dtor_ftype
represent the same type, there was some mistake/duplication during check-in.
gdb/ChangeLog
2015-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* dummy-frame.c (struct dummy_frame): Use proper typedef for dtor.
* dummy-frame.h (dummy_frame_dtor_ftype): Add its comment.
* infcall.c (call_function_by_hand_dummy): Use proper typedef for
dummy_dtor parameter.
* infcall.h: Include dummy-frame.h.
(call_function_by_hand_dummy_dtor_ftype): Remove.
(call_function_by_hand_dummy): Use proper typedef for dummy_dtor
parameter.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 26c64f6..cef6b91 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -490,7 +490,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) struct value * call_function_by_hand_dummy (struct value *function, int nargs, struct value **args, - call_function_by_hand_dummy_dtor_ftype *dummy_dtor, + dummy_frame_dtor_ftype *dummy_dtor, void *dummy_dtor_data) { CORE_ADDR sp; |