This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add missing initialization for netbsd_core_vec
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org
- Date: Mon, 15 Aug 2011 10:49:22 -0700
- Subject: Re: [PATCH] Add missing initialization for netbsd_core_vec
- References: <201108051239.p75CdYcM027618@glazunov.sibelius.xs4all.nl>
Mark,
> The netbsd-core.c module was missed when the match_priority field was
> added to bfd_target. Makes GDB build again for several OpenBSD targets.
>
> Committed as obvious.
>
> 2011-08-05 Mark Kettenis <kettenis@gnu.org>
>
> * netbsd-core.c (netbsd_core_vec): Init match_priority field.
Should this be committed on the gdb-7.3 branch as well?
> Index: netbsd-core.c
> ===================================================================
> RCS file: /cvs/src/src/bfd/netbsd-core.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 netbsd-core.c
> --- netbsd-core.c 1 Sep 2010 13:51:35 -0000 1.29
> +++ netbsd-core.c 5 Aug 2011 12:29:00 -0000
> @@ -281,6 +281,7 @@ const bfd_target netbsd_core_vec =
> 0, /* Symbol prefix. */
> ' ', /* ar_pad_char. */
> 16, /* ar_max_namelen. */
> + 0, /* Match priority. */
> NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data. */
> NO_GET, NO_GETS, NO_PUT, /* 32 bit data. */
> NO_GET, NO_GETS, NO_PUT, /* 16 bit data. */
--
Joel