aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-11-20 00:35:23 +0000
committerDoug Evans <dje@google.com>2008-11-20 00:35:23 +0000
commit642fd101461155b548ad3869480edf31cf17a76c (patch)
tree36ee3eaa8e46a01ff07888976b2ffafeefb586dd /gdb
parent1f7d85c73104e2dea4cdf29d6c79cfe1403843b6 (diff)
downloadgdb-642fd101461155b548ad3869480edf31cf17a76c.zip
gdb-642fd101461155b548ad3869480edf31cf17a76c.tar.gz
gdb-642fd101461155b548ad3869480edf31cf17a76c.tar.bz2
* inferior.h (proceed_to_finish): Delete, unused.
(stop_registers): Tweak comment. * infrun.c (stop_registers): Tweak comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/inferior.h9
-rw-r--r--gdb/infrun.c4
3 files changed, 10 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 88119f0..4eabe76 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 f004d44..aa582cb 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 fbe0af0..f218fa0 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). */