From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id 3F3613858D32 for ; Thu, 10 Aug 2023 17:42:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F3613858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-3491516c4aeso4019935ab.1 for ; Thu, 10 Aug 2023 10:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1691689336; x=1692294136; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VnRvbdMMDRkmagnz09AnxAJl7vKRnEXmyjJKhiEC8sY=; b=KbbwscAPEnIJcwKSMoknk2EVC9btClA6zd5FYIGJS7buSM/BIlPrmWCrFvTWG5KVUx ZXWNdeU9NMl/GOnNvpoOLhBdH3zJtKCX2BYzOijWgJpWDJujAUPwI3gtXXxuJnKoNLSU jYBTrM+ZTV3kpZ/ieTzaodlShtSJgjfM1gGMsLnwRFTIQDV1AyZYaMqnvA+nIAw+Fjkh YNI/uKz73DKuMUdlsc6QNTkkmI5SIFcRDVikN+m3KMaEryUbjJQch1/QRttTERniykV7 n6lEeTn59Gw/7cpLVem6fZfRBgGfrZokgr3RKiAlcVfKuuCNaO9enMdXcXYvVHfC6n9L 3EEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691689336; x=1692294136; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VnRvbdMMDRkmagnz09AnxAJl7vKRnEXmyjJKhiEC8sY=; b=F/H8IXyGGvwRtiNRQOrHu6g/wdHecgiNultybNA6kbtBGW4sarWp2qCVJYm9tWTlmN 1nSawjcGKMo/r6GLjNmBShG4o0sgGYkuq0FeW1e+Di7rbLeDAKaQtei5/EIKfqwWJeIA 8cecQSNYws7FDjVrOpUB7ZQ12C+l4ADn7NuwoAAJrhZVvKK2V5VdAIP3VwdUZ1DMxIyz IIm0TCZd8RIXjN9X1zExR2zQSA5fPosKPnQD4+t6gtLFdHCsjR4jTys9vgpA/q0xUVWK F3toIXB7YsIKEgCB1qqDwvBWbzplHw37C1YCs413ajt+NrNTMPx45Arc5QtYj5t2FmRM pbDg== X-Gm-Message-State: AOJu0YxfreGsrw+Af7d6qHLRJAn+881L2T2uGIeyPnNQn3UBkchd2M+Y yLMQUvgRo5YXtPxKKLXGncZhRg== X-Google-Smtp-Source: AGHT+IEJ7tQ4NMAfYa6wjH8wwPnY+bSDIEygX0Tt57yfcpAZMIhkbbHNmCKCHb4EUjBhWBL4XSTavQ== X-Received: by 2002:a05:6e02:1241:b0:349:77e2:1414 with SMTP id j1-20020a056e02124100b0034977e21414mr2813784ilq.32.1691689336462; Thu, 10 Aug 2023 10:42:16 -0700 (PDT) Received: from murgatroyd (71-211-152-221.hlrn.qwest.net. [71.211.152.221]) by smtp.gmail.com with ESMTPSA id l25-20020a02ccf9000000b0042b929d3d2fsm530516jaq.86.2023.08.10.10.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 10:42:15 -0700 (PDT) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH] Change py-thread-exited.exp to work with gdbserver References: <20230731173254.2725820-1-tromey@adacore.com> X-Attribution: Tom Date: Thu, 10 Aug 2023 11:42:15 -0600 In-Reply-To: <20230731173254.2725820-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Mon, 31 Jul 2023 11:32:54 -0600") Message-ID: <871qga3ibs.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,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.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> gdbserver does not notify gdb of new threads when they are created. Tom> I'm not sure if this is documented anywhere, but it is mentioned on Tom> this page: Tom> https://sourceware.org/gdb/wiki/LocalRemoteFeatureParity Tom> Search for "Finding new threads in the inferior". Tom> This behavior is a bit unfortunate -- I would think that it would be Tom> better to arrange for such notification if something on the gdb side Tom> is interested. Tom> Meanwhile, this patch fixes py-thread-exited.exp to work around this Tom> problem. Tom> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30677 I'm checking this in. Tom