From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115837 invoked by alias); 14 Oct 2015 16:36:39 -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 115824 invoked by uid 89); 14 Oct 2015 16:36:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout26.012.net.il Received: from mtaout26.012.net.il (HELO mtaout26.012.net.il) (80.179.55.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Oct 2015 16:36:37 +0000 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NW700P00XXM4W00@mtaout26.012.net.il> for gdb-patches@sourceware.org; Wed, 14 Oct 2015 19:39:42 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW700NSMYA6MO20@mtaout26.012.net.il>; Wed, 14 Oct 2015 19:39:42 +0300 (IDT) Date: Wed, 14 Oct 2015 16:36:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 14/18] Implement TARGET_WAITKIND_NO_RESUMED in the remote protocol In-reply-to: <1444836486-25679-15-git-send-email-palves@redhat.com> To: Pedro Alves Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83bnc1xv8s.fsf@gnu.org> References: <1444836486-25679-1-git-send-email-palves@redhat.com> <1444836486-25679-15-git-send-email-palves@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00233.txt.bz2 > From: Pedro Alves > Date: Wed, 14 Oct 2015 16:28:02 +0100 > > gdb/ChangeLog: > 2015-10-14 Pedro Alves > > PR 14618 > * NEWS (New remote packets): Mention the N stop reply. > * remote.c (remote_protocol_features): Add "no-resumed" entry. > (remote_query_supported): Report no-resumed+ support. > (remote_parse_stop_reply): Handle 'N'. > (process_stop_reply): Handle TARGET_WAITKIND_NO_RESUMED. > (remote_wait_as): Handle 'N' / TARGET_WAITKIND_NO_RESUMED. > (_initialize_remote): Register "set/show remote > no-resumed-stop-reply" commands. > > gdb/doc/ChangeLog: > 2015-10-14 Pedro Alves > > PR 14618 > * gdb.texinfo (Stop Reply Packets): Document the N stop reply. > (Remote Configuration): Add the "set/show remote > no-resumed-stop-reply" to the available settings table. > (General Query Packets): Document the "no-resumed" qSupported > feature. > > gdb/gdbserver/ChangeLog: > 2015-10-14 Pedro Alves > > PR 14618 > * linux-low.c (linux_wait_1): If the last resumed thread is gone, > report TARGET_WAITKIND_NO_RESUMED. > * remote-utils.c (prepare_resume_reply): Handle > TARGET_WAITKIND_NO_RESUMED. > * server.c (report_no_resumed): New global. > (handle_query) : Handle "no-resumed+". Report > "no-resumed+" support. > (resume): When the target reports TARGET_WAITKIND_NO_RESUMED, only > return error if the client doesn't support no-resumed events. > (push_stop_notification): New function. > (handle_target_event): Use it. Report TARGET_WAITKIND_NO_RESUMED > events if the client supports them. OK for the documentation parts. Thanks.