From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id St3xHvuSBWAQHgAAWB0awg (envelope-from ) for ; Mon, 18 Jan 2021 08:54:03 -0500 Received: by simark.ca (Postfix, from userid 112) id 6F5FD1EF80; Mon, 18 Jan 2021 08:54:03 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B9CF71E945 for ; Mon, 18 Jan 2021 08:54:02 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6CD2E386F47D; Mon, 18 Jan 2021 13:54:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6CD2E386F47D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1610978041; bh=xsxc1SRRqadzCSsa67idpwqszhPsss6X15SCQ+R/goY=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=apF86TIOIHhvhDDRTnPRd4+I9v4iYp8ADqo8/eCgCCP+PRgWcRlfSRSFsupFvHFLL qY6cotQ7hZKUJbVFadoDjoN2akT0V58axqIiogzEBJltrEpwSCBCBUbqZpPxrGuqQl PnJbSUHBdmye4oztCxlcIM0wX3vfgUhgN28UMKAs= Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by sourceware.org (Postfix) with ESMTPS id BF0F8386F47D for ; Mon, 18 Jan 2021 13:53:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BF0F8386F47D Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 439232FE941; Mon, 18 Jan 2021 08:53:58 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id IPaDEGVx-5qZ; Mon, 18 Jan 2021 08:53:57 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id E09142FE8B5; Mon, 18 Jan 2021 08:53:57 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com E09142FE8B5 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PPppIBi8gU2b; Mon, 18 Jan 2021 08:53:57 -0500 (EST) Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) by mail.efficios.com (Postfix) with ESMTPSA id CCDBC2FE8B4; Mon, 18 Jan 2021 08:53:57 -0500 (EST) Subject: Re: [PATCH v3 1/5] gdb: make the remote target track its own thread resume state To: Sebastian Huber , Simon Marchi , gdb-patches@sourceware.org References: <20210108041734.3873826-1-simon.marchi@polymtl.ca> <20210108041734.3873826-2-simon.marchi@polymtl.ca> <13a343a6-c2f6-9b8c-29b5-bb1faf2583c4@embedded-brains.de> Message-ID: <3f474fff-798c-f574-c97b-e6a97b8b259d@efficios.com> Date: Mon, 18 Jan 2021 08:53:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <13a343a6-c2f6-9b8c-29b5-bb1faf2583c4@embedded-brains.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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: , From: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2021-01-18 5:36 a.m., Sebastian Huber wrote: > Thanks=C2=A0for=C2=A0the=C2=A0hint,=C2=A0I=C2=A0will=C2=A0have=C2=A0a=C2= =A0look=C2=A0at=C2=A0it,=C2=A0but=C2=A0it=C2=A0may=C2=A0take=C2=A0a=C2=A0= while. >=20 > I=C2=A0noticed=C2=A0another=C2=A0issue=C2=A0on=C2=A0nios2-rtems=C2=A0bu= ilt=C2=A0on=C2=A0openSUSE: >=20 > ../../sourceware-mirror-binutils-gdb-edf0f28/gdb/remote.c:7820: interna= l-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(con= st target_waitstatus*):=C2=A0Assertion=C2=A0`first_resumed_thread=C2=A0!=3D= =C2=A0nullptr'=C2=A0failed. > A=C2=A0problem=C2=A0internal=C2=A0to=C2=A0GDB=C2=A0has=C2=A0been=C2=A0d= etected, > further=C2=A0debugging=C2=A0may=C2=A0prove=C2=A0unreliable. >=20 > It=C2=A0worked=C2=A0with=C2=A0the=C2=A0GDB=C2=A0commit=C2=A04180301. Please see this comment (an proposed fix), I think you are hitting the sa= me issue: https://sourceware.org/bugzilla/show_bug.cgi?id=3D26819#c20 Simon