aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-26 16:11:45 +0000
committerPedro Alves <palves@redhat.com>2011-05-26 16:11:45 +0000
commitc13bd2b52eedbea982bb19b37dc52626001a11b0 (patch)
tree88fd3c88857e8f8e7d2078ef0cf9f190b2a7c082 /gdb/infcmd.c
parent6938fd346aa1288a347422e96a6bc50f2673a51f (diff)
downloadfsf-binutils-gdb-c13bd2b52eedbea982bb19b37dc52626001a11b0.zip
fsf-binutils-gdb-c13bd2b52eedbea982bb19b37dc52626001a11b0.tar.gz
fsf-binutils-gdb-c13bd2b52eedbea982bb19b37dc52626001a11b0.tar.bz2
2011-05-26 Pedro Alves <pedro@codesourcery.com>
gdb/ * infcmd.c (finish_command): Allow async finish in reverse.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 4baeeba..e95f753 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1639,10 +1639,6 @@ finish_command (char *arg, int from_tty)
if (async_exec && !target_can_async_p ())
error (_("Asynchronous execution not supported on this target."));
- /* Don't try to async in reverse. */
- if (async_exec && execution_direction == EXEC_REVERSE)
- error (_("Asynchronous 'finish' not supported in reverse."));
-
/* If we are not asked to run in the bg, then prepare to run in the
foreground, synchronously. */
if (!async_exec && target_can_async_p ())