From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16352 invoked by alias); 5 Sep 2017 10:12:18 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16331 invoked by uid 89); 5 Sep 2017 10:12:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:326, H*r:sk:static., HContent-Transfer-Encoding:8bit X-HELO: mail-io0-f182.google.com Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Sep 2017 10:12:13 +0000 Received: by mail-io0-f182.google.com with SMTP id b2so13744420iof.1 for ; Tue, 05 Sep 2017 03:12:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=VgKXlFUA5ocsf8SRMMikevrCXaxuZ/yBJQqIzFfW5So=; b=A+GLHgXqaHmwQJPMt3QqfVtmNl3uxsn2dZCMWBVh4K3XkD15cWKuGnZBwHqwxCk7MT ntI+vq3Splvv03lcBd8+5LcQ84P68SjSlLGXVC7g4wCD2lfKDkg75/OZooRyBSUpJO/2 SUk6ow6RjPJPlTCHzI+6W9o4zis0GH09wGCwPrib0oS2Rbh6DW87y6J4qjzx9YJAi5aE q/Nt9+IaphyBpIc9ePy0iW4vwfUDVaXu8GPWXGtg29dFFyqjDVsYjoIv9AA5kREGuzyt VJjjeqD9Ubk+J2Gr9E3UVHHA4FaG1HeggdHam9YfqTbapvmZV/H73Cm5yQwfM64CvpDz KWUw== X-Gm-Message-State: AHPjjUh9eGH4PR5liBP1PQ6q42sL8D7R8nE9uccCerigUc+Fs8HQrYT4 tMuScJXoLDczOA== X-Google-Smtp-Source: ADKCNb6GSIKhMgL86qKpTRHJ0p1Gi5kpzGYiA+Iujl2ZiXVNPb468VEHU3dLdaHSIMnnmL7eLrEBoA== X-Received: by 10.107.41.18 with SMTP id p18mr3613358iop.142.1504606331363; Tue, 05 Sep 2017 03:12:11 -0700 (PDT) Received: from 1170ee0b50d5 (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id y11sm48913ita.30.2017.09.05.03.12.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 03:12:10 -0700 (PDT) Date: Tue, 05 Sep 2017 10:12:00 -0000 From: Yao Qi To: Simon Marchi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/4] Read stop_pc after updating the gdbarch when exec'ing Message-ID: <20170905101208.GE8425@1170ee0b50d5> References: <1503828934-26404-1-git-send-email-simon.marchi@ericsson.com> <1503828934-26404-3-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1503828934-26404-3-git-send-email-simon.marchi@ericsson.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00081.txt.bz2 On 17-08-27 12:15:32, Simon Marchi wrote: > > gdb/ChangeLog: > > * infrun.c (handle_inferior_event_1): When exec'ing, read > stop_pc after follow_exec. Patch is good to me. Sooner or later, we need to remove the global variable stop_pc. -- Yao (齐尧)