From: Doug Evans Date: Thu, 20 Nov 2008 00:35:23 +0000 (+0000) Subject: * inferior.h (proceed_to_finish): Delete, unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=642fd101461155b548ad3869480edf31cf17a76c;p=binutils-gdb.git * inferior.h (proceed_to_finish): Delete, unused. (stop_registers): Tweak comment. * infrun.c (stop_registers): Tweak comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88119f0f495..4eabe76f447 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-11-19 Doug Evans + + * inferior.h (proceed_to_finish): Delete, unused. + (stop_registers): Tweak comment. + * infrun.c (stop_registers): Tweak comment. + 2008-11-19 Kevin Buettner * frv-tdep.c (frv_skip_main_prologue): New function. diff --git a/gdb/inferior.h b/gdb/inferior.h index f004d44ecf4..aa582cb8a98 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -342,13 +342,8 @@ enum exec_direction_kind extern enum exec_direction_kind execution_direction; -/* Nonzero if proceed is being used for a "finish" command or a similar - situation when stop_registers should be saved. */ - -extern int proceed_to_finish; - -/* Save register contents here when about to pop a stack dummy frame, - if-and-only-if proceed_to_finish is set. +/* Save register contents here when executing a "finish" command or are + about to pop a stack dummy frame, if-and-only-if proceed_to_finish is set. Thus this contains the return value from the called function (assuming values are returned in a register). */ diff --git a/gdb/infrun.c b/gdb/infrun.c index fbe0af06c8f..f218fa0e1f9 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -232,8 +232,8 @@ show_stop_on_solib_events (struct ui_file *file, int from_tty, int stop_after_trap; -/* Save register contents here when about to pop a stack dummy frame, - if-and-only-if proceed_to_finish is set. +/* Save register contents here when executing a "finish" command or are + about to pop a stack dummy frame, if-and-only-if proceed_to_finish is set. Thus this contains the return value from the called function (assuming values are returned in a register). */