Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 22:25:13 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46524 for review
Message-ID:  <200402050625.i156PDbI008632@repoman.freebsd.org>

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

Change 46524 by marcel@marcel_nfs on 2004/02/04 22:25:02

	Move gdb from under binutils. There's still a dependency
	on headers (and libraries) from binutils, but I'll solve
	that later.
	The makefiles are skeletal. This does not actually build
	yet.

Affected files ...

.. //depot/projects/gdb/gnu/usr.bin/Makefile#2 edit
.. //depot/projects/gdb/gnu/usr.bin/binutils/Makefile#2 edit
.. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc0#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/config.h#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/gdb.1#1 add
.. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/init.c#1 add

Differences ...

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

@@ -1,11 +1,14 @@
 # $FreeBSD: src/gnu/usr.bin/Makefile,v 1.76 2003/08/29 10:35:00 phk Exp $
 
-SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 \
+SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 ${_gdb} \
 	${_gperf} grep gzip man patch rcs sdiff send-pr sort tar texinfo
 
 .if !defined(NO_TOOLCHAIN)
 _cc=cc
 _binutils=binutils
+.if !defined(NO_GDB)
+_gdb=gdb
+.endif
 .endif
 
 .if !defined(NO_CXX)

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

@@ -4,11 +4,4 @@
 		addr2line ar as gasp ld nm objcopy objdump ranlib readelf \
 		size strings strip doc
 
-TARGET_ARCH?=	${MACHINE_ARCH}
-.if (${TARGET_ARCH} == "alpha" \
-  || ${TARGET_ARCH} == "i386" ) \
-    && !defined(NO_GDB)
-SUBDIR+=	gdb gdbreplay
-.endif
-
 .include <bsd.subdir.mk>



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