diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 20:47:33 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-05-13 20:49:45 +0200 |
commit | 46c03469b37d2ccb6a1eaa3ea4e21c57d07246fc (patch) | |
tree | 6e552b82178f9bbf56116455bdedc4aa1e2da165 /gdb/infcmd.c | |
parent | 8a6c40311297f60ad13827650fdde13da301b505 (diff) | |
download | fsf-binutils-gdb-46c03469b37d2ccb6a1eaa3ea4e21c57d07246fc.zip fsf-binutils-gdb-46c03469b37d2ccb6a1eaa3ea4e21c57d07246fc.tar.gz fsf-binutils-gdb-46c03469b37d2ccb6a1eaa3ea4e21c57d07246fc.tar.bz2 |
Remove stop_registers
Now stop_registers are no longer used and it can be removed.
I am not much sure what 'proceed_to_finish' really means now so I make a wild
guess while updating comments about it.
gdb/ChangeLog
2015-05-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdbthread.h (struct thread_control_state): Update comment for
proceed_to_finish.
* infcall.c (run_inferior_call): Update comment about
proceed_to_finish.
* infcmd.c (get_return_value): Update comment about stop_registers.
(finish_forward): Update comment about proceed_to_finish.
* infrun.c (stop_registers): Remove.
(clear_proceed_status, normal_stop): Remove stop_registers handling.
* infrun.h (stop_registers): Remove.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 3d6c4c9..03282a7 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1519,7 +1519,7 @@ get_return_value (struct value *function, struct type *value_type, struct value *value; struct cleanup *cleanup = make_cleanup (null_cleanup, NULL); - /* If stop_registers were not saved, use the current registers. */ + /* If registers were not saved, use the current registers. */ if (ctx_saver != NULL) stop_regs = dummy_frame_context_saver_get_regs (ctx_saver); else @@ -1786,7 +1786,7 @@ finish_forward (struct symbol *function, struct frame_info *frame) set_longjmp_breakpoint (tp, frame_id); make_cleanup (delete_longjmp_breakpoint_cleanup, &thread); - /* We want stop_registers, please... */ + /* We want to print return value, please... */ tp->control.proceed_to_finish = 1; cargs = xmalloc (sizeof (*cargs)); |