From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117458 invoked by alias); 18 Jan 2017 09:03:06 -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 117405 invoked by uid 89); 18 Jan 2017 09:03:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hayward, hayward, 17-01-09, H*RU:74.125.82.65 X-HELO: mail-wm0-f65.google.com Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Jan 2017 09:03:03 +0000 Received: by mail-wm0-f65.google.com with SMTP id r126so2422579wmr.3 for ; Wed, 18 Jan 2017 01:03:03 -0800 (PST) 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=b1355UA4JAG1NjGvB+G96VugUZeAI6y4dz0LQKmT5g0=; b=CXr+CEfGU6TFIanJuzTWFohM6C8MsqAyQMPyNpTUhdTZ/B0C2bVWho5P/OOThb29sr IN6G1HwKAb9Cuug7th0rd7QBhRTK/gMDRulu0YP3xiw+fmnfaJLw37CkXiGbl3zG+UKy 9MP6W/DSAItjCj7og2QOSVe4Dm7xZToHMtMaOmEvWo6bYEHBOgdk2OFDzzGhpriD4QYS 3/NpdQj/zuFWHNbVW2oiQw4qMJCMMKEkyIPDk/DVmk+zI31kCpBO459BFYx1ehQxOcnL EFc4TDN26MnbyPF1Fnltk28HdsLS8dLhgV+Vec20T7Jzs1aulDG2IpTK8mgv56YWv+VA kZgg== X-Gm-Message-State: AIkVDXIe/zPjrnxJUJSX330eprCwipUeMkTs1Mxx0s+7tzq5jqBx8n+KEcJuKV2icCjVGw== X-Received: by 10.28.103.3 with SMTP id b3mr18721534wmc.24.1484730181803; Wed, 18 Jan 2017 01:03:01 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id e14sm43840961wmd.14.2017.01.18.01.02.59 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 18 Jan 2017 01:03:01 -0800 (PST) Date: Wed, 18 Jan 2017 09:03:00 -0000 From: Yao Qi To: Alan Hayward Cc: "gdb-patches@sourceware.org" Subject: Re: [PATCH 2/3] Allocate data in cached_reg_t Message-ID: <20170118090246.GL28060@E107787-LIN> References: <3BD71BF1-BD32-4952-9E54-8FD14EB54987@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3BD71BF1-BD32-4952-9E54-8FD14EB54987@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00339.txt.bz2 On 17-01-09 10:56:56, Alan Hayward wrote: > @@ -6402,6 +6402,13 @@ static void > stop_reply_dtr (struct notif_event *event) > { > struct stop_reply *r = (struct stop_reply *) event; > + cached_reg_t *reg; > + int ix; > + > + for (ix = 0; > + VEC_iterate(cached_reg_t, r->regcache, ix, reg); A space is needed before "(". Patch is good to me. -- Yao (齐尧)