Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 20:36:20 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50903 for review
Message-ID:  <200404120336.i3C3aKbj085642@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50903

Change 50903 by marcel@marcel_nfs on 2004/04/11 20:35:29

	This actually makes i386 build. Time to run the testsuite and
	see how well the debugger behaves as compared to an "official"
	build.

Affected files ...

.. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile#3 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/bfd/i386/Makefile#2 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#7 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/opcodes/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/opcodes/i386/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/opcodes/i386/config.h#1 add

Differences ...

==== //depot/projects/gdb/gnu/usr.bin/gdb/Makefile#3 (text+ko) ====

@@ -1,5 +1,5 @@
 # $FreeBSD$
 
-SUBDIR=	bfd libiberty gdb
+SUBDIR=	bfd libiberty opcodes gdb
 
 .include <bsd.subdir.mk>

==== //depot/projects/gdb/gnu/usr.bin/gdb/bfd/i386/Makefile#2 (text+ko) ====

@@ -2,3 +2,11 @@
 
 GENSRCS+= elf32-target.h
 SRCS+=	coff-i386.c cpu-i386.c elf32-i386.c
+
+CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec
+CFLAGS+= -DHAVE_bfd_elf32_big_generic_vec
+CFLAGS+= -DHAVE_bfd_elf32_i386_freebsd_vec
+CFLAGS+= -DHAVE_bfd_elf32_little_generic_vec
+CFLAGS+= -DHAVE_i386coff_vec
+CFLAGS+= -DSELECT_ARCHITECTURES='&bfd_i386_arch'
+CFLAGS+= -DSELECT_VECS='&bfd_elf32_i386_freebsd_vec,&i386coff_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec'

==== //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#7 (text+ko) ====

@@ -58,10 +58,10 @@
 CFLAGS+= -I${CNTRB_GDB}/bfd
 CFLAGS+= -I${.CURDIR}/../bfd/${TARGET_ARCH}
 
-GDB_LIBS= ../bfd/libbfd.a ../libiberty/libiberty.a
+GDB_LIBS= ../bfd/libbfd.a ../libiberty/libiberty.a ../opcodes/libopcodes.a
 
-DPADD=	${GDB_LIBS} ${LIBREADLINE}
-LDADD=	${GDB_LIBS} -lreadline
+DPADD=	${GDB_LIBS} ${LIBREADLINE} ${LIBM}
+LDADD=	${GDB_LIBS} -lreadline -lm
 
 nm.h:
 	echo '#include "${TARGET_ARCH}/nm-fbsd.h"' > ${.TARGET}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404120336.i3C3aKbj085642>