head	1.5;
access;
symbols
	RELENG_3_5_0_RELEASE:1.4.2.1
	RELENG_3_4_0_RELEASE:1.4.2.1
	RELENG_3_3_0_RELEASE:1.4.2.1
	RELENG_3_2_0_RELEASE:1.4.2.1
	RELENG_3_1_0_RELEASE:1.4
	RELENG_3:1.4.0.2
	RELENG_3_BP:1.4
	RELENG_2_2_8_RELEASE:1.3.6.1
	RELENG_3_0_0_RELEASE:1.4
	RELENG_2_2_7_RELEASE:1.3.6.1
	RELENG_2_2_6_RELEASE:1.3.6.1
	RELENG_2_2_5_RELEASE:1.3.6.1
	RELENG_2_2_2_RELEASE:1.3.6.1
	RELENG_2_2_1_RELEASE:1.3.6.1
	RELENG_2_2_0_RELEASE:1.3.6.1
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.3.0.6
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.3
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	MOVED_NEWCVS:1.2
	FINAL_1_1_5:1.2
	ALPHA_1_1_5:1.2;
locks; strict;
comment	@# @;


1.5
date	99.05.02.19.51.30;	author dfr;	state dead;
branches;
next	1.4;

1.4
date	97.01.15.22.27.23;	author gj;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	94.12.30.23.24.16;	author jkh;	state Exp;
branches
	1.3.6.1;
next	1.2;

1.2
date	94.06.11.16.20.07;	author paul;	state Exp;
branches;
next	1.1;

1.1
date	94.06.10.13.31.58;	author paul;	state Exp;
branches;
next	;

1.3.6.1
date	97.02.02.20.44.50;	author joerg;	state Exp;
branches;
next	;

1.4.2.1
date	99.05.08.08.58.36;	author dfr;	state dead;
branches;
next	;


desc
@@


1.5
log
@Remove old bmake framework for gdb. It has moved to live next to binutils.
@
text
@LIB = bfd

GDBDIR=	${.CURDIR}/../../../../contrib/gdb
.PATH:	${GDBDIR}/bfd

SRCS =	libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
	 archures.c coff-i386.c aout32.c \
	 srec.c \
	 ecoff.c ecofflink.c \
	 coffgen.c format.c \
	 section.c syms.c stab-syms.c reloc.c init.c \
	 trad-core.c \
	 i386aout.c \
	 i386freebsd.c i386bsd.c \
	 cpu-i386.c \
	 elf.c \
	 hash.c linker.c corefile.c binary.c \
	 tekhex.c ihex.c

CFLAGS+= -I${.CURDIR}/. -I${.CURDIR}/../gdb/.
CFLAGS+= -DDEFAULT_VECTOR=i386freebsd_vec \
	 -DSELECT_VECS='&i386freebsd_vec,&i386bsd_vec' \
         -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DTRAD_CORE

NOPROFILE=no
NOPIC=no

install:
	@@echo -n

.include <bsd.lib.mk>
@


1.4
log
@changes required in the bfd directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
@
text
@@


1.4.2.1
log
@MFC: Import gdb-4.18

Approved by: core
@
text
@@


1.3
log
@Hurrah!  Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
@
text
@d3 4
a6 1
SRCS = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
d11 1
a11 1
	 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
d14 1
a14 1
	 freebsd386.c \
d16 3
a18 2
	 elf.c elf32.c elf32-i386.c \
	 hash.c linker.c
d20 4
a23 3
CFLAGS+= -I$(.CURDIR)/. -I$(.CURDIR)/../gdb/.
CFLAGS+= -DDEFAULT_VECTOR=freebsd386_vec -DSELECT_VECS='&freebsd386_vec' \
         -DSELECT_ARCHITECTURES='bfd_i386_arch' -DTRAD_CORE
@


1.3.6.1
log
@Mega-merge to bring over the new gdb (now from `contrib').

Note that the `doc' subdir is currently broken and disabled, but i
need to see all this on a true 2.2 machine before i can fix this, and
therefore need this commit first.
@
text
@d3 1
a3 4
GDBDIR=	${.CURDIR}/../../../../contrib/gdb
.PATH:	${GDBDIR}/bfd

SRCS =	libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
d8 1
a8 1
	 section.c syms.c stab-syms.c reloc.c init.c \
d11 1
a11 1
	 i386freebsd.c i386bsd.c \
d13 2
a14 3
	 elf.c \
	 hash.c linker.c corefile.c binary.c \
	 tekhex.c ihex.c
d16 3
a18 4
CFLAGS+= -I${.CURDIR}/. -I${.CURDIR}/../gdb/.
CFLAGS+= -DDEFAULT_VECTOR=i386freebsd_vec \
	 -DSELECT_VECS='&i386freebsd_vec,&i386bsd_vec' \
         -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DTRAD_CORE
@


1.2
log
@Modev -DTRAD_CORE for gdb/Makefile to bfd/Makefile
@
text
@d2 13
a14 4
SRCS = archive.c archures.c bfd.c cache.c coffgen.c core.c ctor.c \
       format.c init.c libbfd.c opncls.c reloc.c seclet.c section.c syms.c \
       targets.c ecoff.c elf.c srec.c freebsd386.c aout32.c stab-syms.c \
       cpu-i386.c trad-core.c
@


1.1
log
@GDB-4.12 from ports with support for shlibs but not the kernel.

This is a greatly pared down version of the full gdb-4.12, all the
config stuff has been removed and the supporting libraries have
been stripped to a minimum. This is a 1.1.5 only port, I'll do a
more complete port for 2.0 which will have all the config stuff
and will install the gnu support libraries as system libraries like
we do for readline.

There wasn't much point for 1.1.5 since only gdb would use them so I
went for saving space instead. For 2.0 I'll config all the
other gnu tools to use them as well.
@
text
@d9 1
a9 1
         -DSELECT_ARCHITECTURES='bfd_i386_arch'
@
