Subject: gdb-4.16 for NetBSD-1.1/i386
To: None <port-i386@NetBSD.ORG>
From: Jesus M. Gonzalez <jgb@gsyc.inf.uc3m.es>
List: port-i386
Date: 05/09/1996 13:19:01
	Hi!

	I'm trying to get gdb-4.16 compiled for NetBSD-1.1/i386,
and I'm having problems. It seems that at least file
bfd/netbsd-core.h is not appropiate for gdb-4.16 (the initialization
made there seems to have little to do with specification of
the type at bfd/bfd.h).

	Has anybody got a succesfull gdb-4.16? Any patches?
Am I missing something?

	Thanks in advance,

		Jesus.

PS: The error message I get:

gcc -O2 -c -I. -I. -I./../include  -g netbsd-core.c
netbsd-core.c:310: warning: initialization of `netbsd_core_vec.bfd_getx64' makes pointer from integer without a cast
netbsd-core.c:310: warning: initialization of `netbsd_core_vec.bfd_getx_signed_64' from incompatible pointer type
 [... lots of warnings like these]
netbsd-core.c:310: initializer for scalar `netbsd_core_vec._bfd_check_format[1]' requires one element
netbsd-core.c:310: initializer for scalar `netbsd_core_vec._bfd_check_format[2]' requires one element
netbsd-core.c:310: initializer for scalar `netbsd_core_vec._bfd_check_format[3]' requires one element
 [... more warnings]

-- 
Jesus M. Gonzalez Barahona         | addr.:  c/ Butarque, 15
Grupo de Sistemas y Comunicaciones |         28911 Leganes, Spain
Departamento de Informatica        | tel: +34 1 624 94 58
Universidad Carlos III de Madrid   | fax: +34 1 624 94 30
e-mail: jgb@gsyc.inf.uc3m.es       | www: http://ordago.gsyc.inf.uc3m.es/~jgb