aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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/inferior.h
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/inferior.h')
-rw-r--r--gdb/inferior.h9
1 files changed, 2 insertions, 7 deletions
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). */