diff options
author | Pedro Alves <palves@redhat.com> | 2015-09-09 18:23:25 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-09-09 18:25:15 +0100 |
commit | 0700e23e5f73b2a498526a79de34217429b44988 (patch) | |
tree | dde8013d97980f5e0882f028962b2e8739ddd0bd /gdb/inferior.h | |
parent | cfc3163382898a537c742bee1bf8240b3c09df35 (diff) | |
download | gdb-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/inferior.h')
-rw-r--r-- | gdb/inferior.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 48cba45..e09cb00 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -165,10 +165,8 @@ extern void detach_command (char *, int); extern void notice_new_inferior (ptid_t, int, int); -struct dummy_frame_context_saver; -extern struct value *get_return_value - (struct value *function, struct type *value_type, - struct dummy_frame_context_saver *ctx_saver); +extern struct value *get_return_value (struct value *function, + struct type *value_type); /* Prepare for execution command. TARGET is the target that will run the command. BACKGROUND determines whether this is a foreground |