From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8641 invoked by alias); 22 Oct 2013 20:15:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8625 invoked by uid 89); 22 Oct 2013 20:15:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Oct 2013 20:15:39 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MV300E006WTK900@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Tue, 22 Oct 2013 23:15:16 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MV300EUB6XF5OC0@a-mtaout22.012.net.il>; Tue, 22 Oct 2013 23:15:16 +0300 (IDT) Date: Tue, 22 Oct 2013 20:15:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v4 9/9] enable target-async In-reply-to: <1382464769-2465-10-git-send-email-tromey@redhat.com> To: Tom Tromey Cc: gdb-patches@sourceware.org, tromey@redhat.com Reply-to: Eli Zaretskii Message-id: <83a9i1jc4c.fsf@gnu.org> References: <1382464769-2465-1-git-send-email-tromey@redhat.com> <1382464769-2465-10-git-send-email-tromey@redhat.com> X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00706.txt.bz2 > From: Tom Tromey > Cc: Tom Tromey > 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.