* inferior.h (proceed_to_finish): Delete, unused.
authorDoug Evans <dje@google.com>
Thu, 20 Nov 2008 00:35:23 +0000 (00:35 +0000)
committerDoug Evans <dje@google.com>
Thu, 20 Nov 2008 00:35:23 +0000 (00:35 +0000)
(stop_registers): Tweak comment.
* infrun.c (stop_registers): Tweak comment.

gdb/ChangeLog
gdb/inferior.h
gdb/infrun.c

index 88119f0..4eabe76 100644 (file)
@@ -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.
index f004d44..aa582cb 100644 (file)
@@ -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).  */
 
index fbe0af0..f218fa0 100644 (file)
@@ -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).  */