This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add missing initialization for netbsd_core_vec


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]