aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2015-05-13 15:55:09 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2015-05-13 15:55:09 +0200
commit558e5469679897ee57ad6706074f55ff4952cf43 (patch)
tree2f2eceaf974c6eb9ac261bbddc1940c2502bd23c /gdb/dummy-frame.c
parentebfd00d210ca6190239140b250499e194fd5af20 (diff)
downloadgdb-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/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 0fbbeb1..f193289 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -64,7 +64,7 @@ struct dummy_frame
/* If non-NULL, a destructor that is run when this dummy frame is
popped. */
- void (*dtor) (void *data);
+ dummy_frame_dtor_ftype *dtor;
/* Arbitrary data that is passed to DTOR. */
void *dtor_data;