+2008-03-14 Pedro Alves <pedro@codesourcery.com>
+
+ * infcmd.c (jump_command): Postpone disabling stdin until after
+ the possible query.
+
2008-03-14 Pedro Alves <pedro@codesourcery.com>
* inflow.c (gdb_getpgrp): New.
if (async_exec && !target_can_async_p ())
error (_("Asynchronous execution not supported on this target."));
- /* 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 ())
- {
- /* Simulate synchronous execution */
- async_disable_stdin ();
- }
-
if (!arg)
error_no_arg (_("starting address"));
printf_filtered (".\n");
}
+ /* 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 ())
+ {
+ /* Simulate synchronous execution */
+ async_disable_stdin ();
+ }
+
clear_proceed_status ();
proceed (addr, TARGET_SIGNAL_0, 0);
}