This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add missing initialization for netbsd_core_vec
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: binutils at sourceware dot org
- Date: Fri, 5 Aug 2011 14:39:34 +0200 (CEST)
- Subject: [PATCH] Add missing initialization for netbsd_core_vec
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.
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. */