This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/2] Fix not-only rename list for Fortran modules import
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Tobias Burnus <burnus at net-b dot de>
- Date: Tue, 28 Jun 2011 13:49:07 -0600
- Subject: Re: [patch 2/2] Fix not-only rename list for Fortran modules import
- References: <20110624202700.GB14999@host1.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> + for (ix = 0; VEC_iterate (const_char_ptr, excludes, ix, param); ix++)
Jan> + new->excludes[ix] = param;
Jan> + new->excludes[ix] = NULL;
You can use VEC_address and memcpy here.
Tom