This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] Allocate data in cached_reg_t
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Alan Hayward <Alan dot Hayward at arm dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 18 Jan 2017 09:02:46 +0000
- Subject: Re: [PATCH 2/3] Allocate data in cached_reg_t
- Authentication-results: sourceware.org; auth=none
- References: <3BD71BF1-BD32-4952-9E54-8FD14EB54987@arm.com>
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 (齐尧)