From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12413 invoked by alias); 2 Mar 2020 11:54:16 -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 12405 invoked by uid 89); 2 Mar 2020 11:54:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=UD:infrun.c, infrun.c, infrunc X-HELO: mail-wr1-f42.google.com Received: from mail-wr1-f42.google.com (HELO mail-wr1-f42.google.com) (209.85.221.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Mar 2020 11:54:15 +0000 Received: by mail-wr1-f42.google.com with SMTP id z11so3453244wro.9 for ; Mon, 02 Mar 2020 03:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wezItSi0nm59LtWEKWqBaPWD26jyrnnAGKVXsnUu2DM=; b=D6lKbNacholQTWMZq0g/6niamuagC+oI0xA+W8csFDVNkpp0dcEqe5f5+PbRuXftpv WSaMYl3N+C+dCYuZnqLd2boYwd9iSsomZp/Tudo38TYP1zgVvBT1peVVc719LY8vebUf C39sO0Npmfg5EHUDExFFLdgXnZPSJwlfeGOScdcjmDfJ38acb8Kpp52gt0zp/jipSMeU PnF86S3Ea4T7K3OH5R7PyHugfFBpN4c+FbZkz+KuEx+whB5jK1k41d7/Dnxkl2aBrle4 szEMGNQxWmp9uzky/KM0DiTJygAzV8+tY+LKfHrTmiDirUyymmaAJLhOPaTUyfvVV9oY OLfw== Return-Path: Received: from localhost ([212.69.42.53]) by smtp.gmail.com with ESMTPSA id k7sm14855988wmi.19.2020.03.02.03.54.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Mar 2020 03:54:12 -0800 (PST) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Pedro Alves , Andrew Burgess Subject: [PATCHv3 0/2] gdb/remote: Restore support for 'S' stop reply packet Date: Mon, 02 Mar 2020 11:54:00 -0000 Message-Id: In-Reply-To: <137d09cf-9f97-fa5e-19a0-71231a3f760a@redhat.com> References: <137d09cf-9f97-fa5e-19a0-71231a3f760a@redhat.com> X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00015.txt Pedro, Thanks for your feedback. In this version I have: 1. Added a new patch #1 that adds a debug feature to gdbserver to allow it to send S packets. 2. Used this new feature to add a test for S packets into patch #2. 3. Moved a call to switch_to_inferior_no_thread as part of patch #2 to make sure that inferior_ptid is null_ptid during wait code. 4. Rewritten the commit message for patch #2 to describe what's going on. Thanks, Andrew --- Andrew Burgess (2): gdbserver: Add mechanism to prevent sending T stop packets gdb/remote: Restore support for 'S' stop reply packet gdb/ChangeLog | 10 +++ gdb/infrun.c | 8 ++- gdb/remote.c | 43 ++++++++---- gdb/testsuite/ChangeLog | 5 ++ gdb/testsuite/gdb.server/stop-reply-no-thread.exp | 80 ++++++++++++++--------- gdbserver/ChangeLog | 8 +++ gdbserver/remote-utils.cc | 20 ++++++ gdbserver/server.cc | 3 + gdbserver/server.h | 1 + 9 files changed, 133 insertions(+), 45 deletions(-) -- 2.14.5