[PATCH v4 9/9] enable target-async
Eli Zaretskii
eliz@gnu.org
Tue Oct 22 20:15:00 GMT 2013
> From: Tom Tromey <tromey@redhat.com>
> Cc: Tom Tromey <tromey@redhat.com>
> Date: Tue, 22 Oct 2013 11:59:29 -0600
>
> * infrun.c (set_observer_mode): Don't set target_async_permitted.
> * linux-nat.c (linux_nat_is_async_p): Always return 1.
> (linux_nat_can_async_p): Likewise.
> * mi/mi-interp.c (thread_command_not_mi): New function.
> (mi_interpreter_prompt_p): Maybe print the MI prompt.
> (mi_execute_command_input_handler): Conditionally print prompt.
> (mi_on_resume): Check sync_execution before printing prompt.
> * mi/mi-main.c (mi_target_can_async_p): New function.
> (exec_continue): Maybe call async_disable_stdin.
> (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features):
> Use mi_target_can_async_p.
> (mi_execute_async_cli_command): Use mi_target_can_async_p.
> * remote.c (remote_open_1, remote_terminal_inferior)
> (remote_terminal_ours, remote_can_async_p, remote_is_async_p):
> Don't check target_async_permitted.
>
> * gdb.texinfo (Non-Stop Mode): Remove "set target-async 1"
> from example.
> (Background Execution): Move target-async docs...
> (Asynchronous and non-stop modes): ... here. Rewrite to
> MI form.
>
> * gdb.mi/mi-cli.exp: Don't check "$async".
The changes to the manual are OK.
Thanks.
More information about the Gdb-patches
mailing list