* infcmd.c (finish_command): Reject async in reverse.
2008-10-06 Michael Snyder <msnyder@vmware.com>
+ * infcmd.c (finish_command): Reject async in reverse.
* infcmd.c (finish_command): Use i18n macros.
* infcmd.c: Minor function reordering.
* infrun.c (step_into_function): Rename to stepped_into_function.
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 && target_get_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 ())