From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id C71BC385DC02 for ; Wed, 1 Apr 2020 14:43:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C71BC385DC02 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-412-UtpXwB64NuaqieasTV6rmg-1; Wed, 01 Apr 2020 10:43:21 -0400 X-MC-Unique: UtpXwB64NuaqieasTV6rmg-1 Received: by mail-ed1-f72.google.com with SMTP id i61so162297edc.2 for ; Wed, 01 Apr 2020 07:43:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=s0jPRMYD9ht/ng57d/qTNBvxCfj95DzOGUitcSKPy9E=; b=LioDRVxOPWcSv5zrifTVfk2c4z9VCoEtgAGIx/LbGJYJ1Bx2XgRPOHGTEaBdgqTV3P Y4Fbuf5nAFTRwI+ATYIOwi9jbZriIiZ1UuvqGKWJUKz49jMefhqG2EWPr5fqucNJr/pk cz0C5+GGdXtsU1ppJirJvkO5SqzNT6FVAZYkLolmYMxnol65tiJBvzlcomudTtIJusC2 R60wFgiPwvOb4wgRjV9HRNU2HBEp8a4f0tsC6i/XfLAwP485qISg2gmVZbSDqAVJ3elt OJTsHJc6/A7pagCoAkyMFw1NKJhoPq1kpoCOA5i+GgGUiVh3DFJOA2aDgF7xFGkOeaps 6MZw== X-Gm-Message-State: ANhLgQ2Y0vYYohQuIEaOSFGrodMa0Gy9DBxXN6fwo+C1gu7q9QGZjF+P Un1DKxKqxNQS65peLh+TCMtLbzFRpqgN1IoSWLKZU0HgFb11yHlr4MFMBZNnQ//SZgxfZ/tcHlf 8VQAgjyCSWeLT2hw/lJt3kQ== X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr8993243ejv.38.1585752199302; Wed, 01 Apr 2020 07:43:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv3rJnV4Y7EALbHRxupjWQdG9xOz9B9cixMkBWLWUwTlSOEcxphaY7ryrVnE6ZWoQGdvu+AmQ== X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr8993229ejv.38.1585752199068; Wed, 01 Apr 2020 07:43:19 -0700 (PDT) Received: from ?IPv6:2001:8a0:f909:7b00:56ee:75ff:fe8d:232b? ([2001:8a0:f909:7b00:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id p28sm492698edi.32.2020.04.01.07.43.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 07:43:18 -0700 (PDT) Subject: Re: [PATCH v2] gdb/remote: do not check for null_ptid in stop reply (was: [PATCH] gdb: do not require ptid in stop reply if target does not support multi-process) To: Tankut Baris Aktemur , gdb-patches@sourceware.org References: <20200401131726.13537-1-tankut.baris.aktemur@intel.com> From: Pedro Alves Message-ID: Date: Wed, 1 Apr 2020 15:43:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20200401131726.13537-1-tankut.baris.aktemur@intel.com> Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 14:43:23 -0000 On 4/1/20 2:17 PM, Tankut Baris Aktemur wrote: > gdb/ChangeLog: > 2020-03-31 Tankut Baris Aktemur > > * remote.c (remote_target::remote_parse_stop_reply): Remove the > check for no ptid in the stop reply when the target is non-stop. > > gdb/testsuite/ChangeLog: > 2020-03-31 Tankut Baris Aktemur > > * gdb.server/stop-reply-no-thread.exp: Enhance the test > scenario to cover execution until the end and also the case > when no packet is disabled when starting gdbserver. Perfect, thanks. Pedro Alves