aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-09-09 18:23:25 +0100
committerPedro Alves <palves@redhat.com>2015-09-09 18:25:15 +0100
commit0700e23e5f73b2a498526a79de34217429b44988 (patch)
treedde8013d97980f5e0882f028962b2e8739ddd0bd /gdb/infcall.h
parentcfc3163382898a537c742bee1bf8240b3c09df35 (diff)
downloadgdb-0700e23e5f73b2a498526a79de34217429b44988.zip
gdb-0700e23e5f73b2a498526a79de34217429b44988.tar.gz
gdb-0700e23e5f73b2a498526a79de34217429b44988.tar.bz2
Garbage collect dummy_frame_ctx_saver
Since the "finish" command and infcall's FSMs are now responsible for saving the return value, the dummy_frame_ctx_saver is no longer needed anywhere. gdb/ChangeLog: 2015-09-09 Pedro Alves <palves@redhat.com> * infcall.c (struct dummy_frame_context_saver): Delete. (dummy_frame_context_saver_free, dummy_frame_context_saver_dtor) (dummy_frame_context_saver_drop) (dummy_frame_context_saver_cleanup) (dummy_frame_context_saver_get_regs) (dummy_frame_context_saver_setup): Delete. * infcall.h (dummy_frame_context_saver_drop) (dummy_frame_context_saver_cleanup) (dummy_frame_context_saver_get_regs, dummy_frame_context_saver): Delete. (get_return_value): Remove 'ctx_saver' paremeter. Adjust. * inferior.h (get_return_value): Remove 'ctx_saver' paremeter. * python/py-finishbreakpoint.c (bpfinishpy_pre_stop_hook): Adjust.
Diffstat (limited to 'gdb/infcall.h')
-rw-r--r--gdb/infcall.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/infcall.h b/gdb/infcall.h
index 43b5f66..77c5101 100644
--- a/gdb/infcall.h
+++ b/gdb/infcall.h
@@ -50,13 +50,4 @@ extern struct value *
dummy_frame_dtor_ftype *dummy_dtor,
void *dummy_dtor_data);
-struct dummy_frame_context_saver;
-extern void dummy_frame_context_saver_drop
- (struct dummy_frame_context_saver *data);
-extern void dummy_frame_context_saver_cleanup (void *data_voidp);
-extern struct regcache *dummy_frame_context_saver_get_regs
- (struct dummy_frame_context_saver *saver);
-extern struct dummy_frame_context_saver *dummy_frame_context_saver_setup
- (struct frame_id dummy_id, ptid_t ptid);
-
#endif