diff options
author | Doug Evans <dje@google.com> | 2008-11-20 00:35:22 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-11-20 00:35:22 +0000 |
commit | c5cc2e3a07d423db9a91f7cc5fecd2c77d9e20fd (patch) | |
tree | 2e6bf5d3c55525850c9b5002c743483b6abd32d9 | |
parent | f06e1ffab6373207fb28f4f8a559e1b456fb65bf (diff) | |
download | gdb-c5cc2e3a07d423db9a91f7cc5fecd2c77d9e20fd.tar.gz |
* inferior.h (proceed_to_finish): Delete, unused.
(stop_registers): Tweak comment.
* infrun.c (stop_registers): Tweak comment.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/inferior.h | 9 | ||||
-rw-r--r-- | gdb/infrun.c | 4 |
3 files changed, 10 insertions, 9 deletions
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 <dje@google.com> + + * inferior.h (proceed_to_finish): Delete, unused. + (stop_registers): Tweak comment. + * infrun.c (stop_registers): Tweak comment. + 2008-11-19 Kevin Buettner <kevinb@redhat.com> * 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). */ |