[PATCH] Add missing initialization for netbsd_core_vec
Mark Kettenis
mark.kettenis@xs4all.nl
Fri Aug 5 12:40:00 GMT 2011
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. */
More information about the Binutils
mailing list