Message ID | 20200414175434.8047-13-palves@redhat.com |
---|---|
State | New |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a2e:6a12:0:0:0:0:0 with SMTP id f18csp5053243ljc; Tue, 14 Apr 2020 10:55:05 -0700 (PDT) X-Google-Smtp-Source: APiQypK/dPmrH7dP1SMYYe8lR3JCaErsJyT/68cX1k6P5GZ1QrvGuHFxGSsV5lqNHtWLnvt6WVDM X-Received: by 2002:a05:6402:1713:: with SMTP id y19mr5236866edu.40.1586886905206; Tue, 14 Apr 2020 10:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586886905; cv=none; d=google.com; s=arc-20160816; b=CoKWeq/enTg5kciu5oJRqWx9co7zKgq/oaGbuXvjB7CysT3RgLCfaBFknrw9LHUBlt qr/BUu2SYd4KgqfypVzzgDXJ/Xn+PU4m6OCCEmB/fkW1SfoCHejG7RIzWKvvFL5jPwwc 42vtqmfe4+Ti/Vsxun/D2rXfsvR9aaxXOuWSPAhhScJRsR0J6WyI82HiHYtI7gGaMn78 9cPPwLKxJBITNSVOzdR/zefM1+dK7HU7GbGThf1qXZqTlYo6gDe4LHIwpZjp3RxQLaxQ eNLtX+41Sm+uAI/y8YtxK9gamM8QX82cLG4Q+vVh70Ce2fGCY0yOUhonMJtcHzr7+gMt YOVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=ecjiYm+uEw/XPLsuu/htVUhsTuwml5q9hAGR3XV2Xbw=; b=C0Vmr0DZAXw8jK0zc2EogPK6BjZaqmS6oQT8oT4akwNU4aavQM1masPYrqwLRKYsXn MhR91QKwLmIXzJ2pCJBGYjS0kOJSMedA7XsNqnsjmq0UvhxlYQ177l0/bGl3iT+zx144 J9x4t4PVNZolx89EWS9jFQHaU2ZZ8+osw5PvGSlTnw0r2+0IGz6E+RsZGUE+nhDYBMAg Eh5bLxR11+fAGOK1lMMGMVKaLOuCx5btkmHizrCLMEUBnH+Rwu9ZYgR1Bz+C/1vSf+4v vNs/JGN/5NIEOlZtPLitmmPFLCWOXMJuzgIDvn4qTLUzMs+Nlwm6bd0rUpIG9J+GL725 CoSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=DvhETbJs; spf=pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom=gdb-patches-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Return-Path: <gdb-patches-bounces@sourceware.org> Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id gh8si3459197ejb.301.2020.04.14.10.55.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 10:55:05 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=DvhETbJs; spf=pass (google.com: domain of gdb-patches-bounces@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom=gdb-patches-bounces@sourceware.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C244C394443F; Tue, 14 Apr 2020 17:54:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C244C394443F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1586886890; bh=ecjiYm+uEw/XPLsuu/htVUhsTuwml5q9hAGR3XV2Xbw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DvhETbJshc3SYsWrebOjjNJYLtaoLSgj7WkL8klKzlg8Tj1csW1dG//uVSravKne+ w6cjlxlf3gH9e+0cXkKKmZ5zT3FMB9BV1DObHAXZPGmDVK/d1eEptHZVhpskUYIPKS VJYtRHord70QspbP/Kmg29yoh7pC1E4wFAmuITNM= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id 95926388703B for <gdb-patches@sourceware.org>; Tue, 14 Apr 2020 17:54:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 95926388703B Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-324-tL8Exh77O0ybTm_lMsyFLw-1; Tue, 14 Apr 2020 13:54:45 -0400 X-MC-Unique: tL8Exh77O0ybTm_lMsyFLw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 041C3DB62 for <gdb-patches@sourceware.org>; Tue, 14 Apr 2020 17:54:45 +0000 (UTC) Received: from cascais.Home (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 93A225C1A2 for <gdb-patches@sourceware.org>; Tue, 14 Apr 2020 17:54:44 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH 12/28] Don't write to inferior_ptid in remote-sim.c Date: Tue, 14 Apr 2020 18:54:18 +0100 Message-Id: <20200414175434.8047-13-palves@redhat.com> In-Reply-To: <20200414175434.8047-1-palves@redhat.com> References: <20200414175434.8047-1-palves@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-29.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, 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 <gdb-patches.sourceware.org> List-Unsubscribe: <http://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <http://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Pedro Alves via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Pedro Alves <palves@redhat.com> Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces@sourceware.org> |
Series |
|
Related |
show
|
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 347dfd7013..da1ee96519 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -761,7 +761,7 @@ gdbsim_target_open (const char *args, int from_tty) /* There's nothing running after "target sim" or "load"; not until "run". */ - inferior_ptid = null_ptid; + switch_to_no_thread (); gdbsim_is_open = 1; }