PERFORCE change 50903 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sun Apr 11 20:36:21 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=50903
Change 50903 by marcel at 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}
More information about the p4-projects
mailing list