Received: from eggs.gnu.org ([2001:4830:134:3::10]:52735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c07Ji-00059v-Pp for qemu-devel@nongnu.org; Fri, 28 Oct 2016 09:35:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c07Jf-0003h4-Mw for qemu-devel@nongnu.org; Fri, 28 Oct 2016 09:35:30 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34648 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c07Jf-0003gC-Gr for qemu-devel@nongnu.org; Fri, 28 Oct 2016 09:35:27 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u9SDYE9w065481 for ; Fri, 28 Oct 2016 09:35:26 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 26c35fxw15-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 28 Oct 2016 09:35:26 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Oct 2016 14:35:24 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 431381B08023 for ; Fri, 28 Oct 2016 14:37:29 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u9SDZLA916253208 for ; Fri, 28 Oct 2016 13:35:21 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u9SDZLvt012285 for ; Fri, 28 Oct 2016 07:35:21 -0600 References: <1476445983-16661-1-git-send-email-imbrenda@linux.vnet.ibm.com> <1476445983-16661-3-git-send-email-imbrenda@linux.vnet.ibm.com> <6ff5fd4e-d371-f204-371a-07edcb545e93@redhat.com> From: Claudio Imbrenda Date: Fri, 28 Oct 2016 15:35:20 +0200 MIME-Version: 1.0 In-Reply-To: <6ff5fd4e-d371-f204-371a-07edcb545e93@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Message-Id: <91243842-10e9-666b-83e8-e271322371f7@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v2 2/2] gdbstub: Fix vCont behaviour List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pedro Alves , Christian Borntraeger , qemu-devel@nongnu.org Cc: Peter Maydell , Paolo Bonzini On 27/10/16 13:40, Pedro Alves wrote: > I'm not a qemu gdbstub expert, but FYI, seeing this reminded me to push > to gdb's master a (getting old) gdb patch that clarifies how vCont actions > should be interpreted: > > https://sourceware.org/ml/gdb-patches/2016-02/msg00493.html > > It's already live at: > > https://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html > > (The "already running" case is for non-stop mode, which qemu > probably doesn't support.) >From the new specifications I seem to understand that if I specify a default as first action, then no further actions will be considered, since it matches all threads? e.g. vCont;c;s:1 will ignore the s:1 because the c was specified earlier and it matches all threads, and therefore it's the leftmost match? do I understand correctly? Or does the default only match any thread without an explicit match? (which is how I interpreted the old spec)