head	1.19;
access;
symbols
	RELENG_8_4:1.19.0.2
	RELENG_9_1_0_RELEASE:1.18.2.1.4.2
	RELENG_9_1:1.18.2.1.0.4
	RELENG_9_1_BP:1.18.2.1
	RELENG_8_3_0_RELEASE:1.14.2.1.8.1
	RELENG_8_3:1.14.2.1.0.8
	RELENG_8_3_BP:1.14.2.1
	RELENG_9_0_0_RELEASE:1.18.2.1.2.1
	RELENG_9_0:1.18.2.1.0.2
	RELENG_9_0_BP:1.18.2.1
	RELENG_9:1.18.0.2
	RELENG_9_BP:1.18
	RELENG_7_4_0_RELEASE:1.12.2.1.2.1
	RELENG_8_2_0_RELEASE:1.14.2.1.6.1
	RELENG_7_4:1.12.2.1.0.2
	RELENG_7_4_BP:1.12.2.1
	RELENG_8_2:1.14.2.1.0.6
	RELENG_8_2_BP:1.14.2.1
	RELENG_8_1_0_RELEASE:1.14.2.1.4.1
	RELENG_8_1:1.14.2.1.0.4
	RELENG_8_1_BP:1.14.2.1
	RELENG_7_3_0_RELEASE:1.12.10.1
	RELENG_7_3:1.12.0.10
	RELENG_7_3_BP:1.12
	RELENG_8_0_0_RELEASE:1.14.2.1.2.1
	RELENG_8_0:1.14.2.1.0.2
	RELENG_8_0_BP:1.14.2.1
	RELENG_8:1.14.0.2
	RELENG_8_BP:1.14
	RELENG_7_2_0_RELEASE:1.12.8.1
	RELENG_7_2:1.12.0.8
	RELENG_7_2_BP:1.12
	RELENG_7_1_0_RELEASE:1.12.6.1
	RELENG_6_4_0_RELEASE:1.9.8.1.2.1
	RELENG_7_1:1.12.0.6
	RELENG_7_1_BP:1.12
	RELENG_6_4:1.9.8.1.0.2
	RELENG_6_4_BP:1.9.8.1
	RELENG_7_0_0_RELEASE:1.12
	RELENG_6_3_0_RELEASE:1.9.18.1
	RELENG_7_0:1.12.0.4
	RELENG_7_0_BP:1.12
	RELENG_6_3:1.9.0.18
	RELENG_6_3_BP:1.9
	RELENG_7:1.12.0.2
	RELENG_7_BP:1.12
	RELENG_6_2_0_RELEASE:1.9
	RELENG_6_2:1.9.0.16
	RELENG_6_2_BP:1.9
	RELENG_5_5_0_RELEASE:1.9
	RELENG_5_5:1.9.0.14
	RELENG_5_5_BP:1.9
	RELENG_6_1_0_RELEASE:1.9
	RELENG_6_1:1.9.0.12
	RELENG_6_1_BP:1.9
	RELENG_6_0_0_RELEASE:1.9
	RELENG_6_0:1.9.0.10
	RELENG_6_0_BP:1.9
	RELENG_6:1.9.0.8
	RELENG_6_BP:1.9
	RELENG_5_4_0_RELEASE:1.9
	RELENG_5_4:1.9.0.6
	RELENG_5_4_BP:1.9
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.4
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.2
	RELENG_5_BP:1.9
	RELENG_3_5_0_RELEASE:1.6.2.1
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_0_RELEASE:1.6.2.1
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_2_2_8_RELEASE:1.4.6.3
	RELENG_3_0_0_RELEASE:1.6
	RELENG_2_2_7_RELEASE:1.4.6.3
	RELENG_2_2_6_RELEASE:1.4.6.3
	RELENG_2_2_5_RELEASE:1.4.6.3
	RELENG_2_2_2_RELEASE:1.4.6.3
	RELENG_2_2_1_RELEASE:1.4.6.2
	RELENG_2_2_0_RELEASE:1.4.6.2
	RELENG_2_1_7_RELEASE:1.4
	RELENG_2_1_6_1_RELEASE:1.4
	RELENG_2_1_6_RELEASE:1.4
	RELENG_2_2:1.4.0.6
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.4
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	MOVED_NEWCVS:1.3
	FINAL_1_1_5:1.3
	ALPHA_1_1_5:1.3
	FINAL_1_1:1.1
	GAMMA_1_1:1.1
	BETA_1_1:1.1.0.2
	BP_BETA_1_1:1.1
	FINAL_1_0:1.1
	EPSILON_1_0:1.1
	GAMMA_1_0:1.1
	BETA_1_0:1.1
	ALPHA_1_0:1.1;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.01.49.10;	author svnexp;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2010.08.23.22.24.11;	author imp;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2010.04.12.23.35.58;	author imp;	state Exp;
branches;
next	1.16;

1.16
date	2010.03.26.19.40.53;	author marcel;	state Exp;
branches;
next	1.15;

1.15
date	2010.02.25.21.29.00;	author jkim;	state Exp;
branches;
next	1.14;

1.14
date	2009.02.23.18.22.49;	author raj;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2008.11.17.16.32.57;	author raj;	state Exp;
branches;
next	1.12;

1.12
date	2006.10.21.17.27.36;	author jmg;	state Exp;
branches
	1.12.2.1
	1.12.6.1
	1.12.8.1
	1.12.10.1;
next	1.11;

1.11
date	2006.08.24.21.53.49;	author marcel;	state Exp;
branches;
next	1.10;

1.10
date	2006.08.24.02.44.58;	author marcel;	state Exp;
branches;
next	1.9;

1.9
date	2004.07.25.05.32.50;	author marcel;	state Exp;
branches
	1.9.8.1
	1.9.18.1;
next	1.8;

1.8
date	2004.06.25.06.48.53;	author marcel;	state Exp;
branches;
next	1.7;

1.7
date	99.05.02.19.51.28;	author dfr;	state dead;
branches;
next	1.6;

1.6
date	97.04.26.17.34.00;	author pst;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.01.15.22.26.07;	author gj;	state Exp;
branches;
next	1.4;

1.4
date	95.01.11.16.40.08;	author ache;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	94.06.10.15.57.46;	author paul;	state Exp;
branches;
next	1.2;

1.2
date	94.05.09.18.13.54;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	93.06.29.09.46.56;	author nate;	state Exp;
branches;
next	;

1.19.2.1
date	2012.11.17.01.49.10;	author svnexp;	state dead;
branches;
next	1.19.2.2;

1.19.2.2
date	2013.03.28.13.02.50;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.18.2.1.2.1
	1.18.2.1.4.1;
next	1.18.2.2;

1.18.2.2
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.18.2.1.2.2;

1.18.2.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.18.2.1.4.2;

1.18.2.1.4.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.14.2.1.2.1
	1.14.2.1.4.1
	1.14.2.1.6.1
	1.14.2.1.8.1;
next	1.14.2.2;

1.14.2.2
date	2012.11.17.10.35.59;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.14.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.14.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.14.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.14.2.1.8.2;

1.14.2.1.8.2
date	2012.11.17.08.24.40;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2010.05.08.13.23.57;	author imp;	state Exp;
branches
	1.12.2.1.2.1;
next	1.12.2.2;

1.12.2.2
date	2012.11.17.08.01.31;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.12.2.1.2.2;

1.12.2.1.2.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.12.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.12.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.12.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.9.8.1
date	2007.12.03.17.32.02;	author obrien;	state Exp;
branches
	1.9.8.1.2.1;
next	1.9.8.2;

1.9.8.2
date	2010.05.08.13.21.22;	author imp;	state Exp;
branches;
next	1.9.8.3;

1.9.8.3
date	2012.11.17.07.39.18;	author svnexp;	state Exp;
branches;
next	;

1.9.8.1.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.9.18.1
date	2007.12.03.21.04.54;	author obrien;	state Exp;
branches;
next	;

1.6.2.1
date	99.05.08.08.58.34;	author dfr;	state dead;
branches;
next	;

1.4.6.1
date	97.02.02.20.43.23;	author joerg;	state Exp;
branches;
next	1.4.6.2;

1.4.6.2
date	97.02.05.00.37.03;	author joerg;	state Exp;
branches;
next	1.4.6.3;

1.4.6.3
date	97.04.26.17.34.49;	author pst;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/gnu/usr.bin/gdb/Makefile 211725 2010-08-23 22:24:11Z imp $

SUBDIR=	doc libgdb gdb gdbtui kgdb

.if exists(${.CURDIR}/gdbserver/reg-${MACHINE_CPUARCH}.c)
SUBDIR+=gdbserver
.endif

.include <bsd.subdir.mk>
@


1.19.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:50 +0000
@
text
@d1 9
@


1.19.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 9
# $FreeBSD: releng/8.4/gnu/usr.bin/gdb/Makefile 188941 2009-02-23 18:22:49Z raj $

SUBDIR=	doc libgdb gdb gdbtui kgdb

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
SUBDIR+=gdbserver
.endif

.include <bsd.subdir.mk>
@


1.18
log
@SVN rev 211725 on 2010-08-23 22:24:11Z by imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.18.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.18.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/gdb/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.18.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.18.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/gdb/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.18.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.18.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/gdb/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.17
log
@SVN rev 206530 on 2010-04-12 23:35:58Z by imp

Simplify how we select which architectures to add gdbserver for.  If
the MD files exist, compile it, otherwise omit it.
@
text
@d5 1
a5 2
TARGET_ARCH?= ${MACHINE_ARCH}
.if exists(${.CURDIR}/gdbserver/reg-${TARGET_ARCH}.c)
@


1.16
log
@SVN rev 205710 on 2010-03-26 19:40:53Z by marcel

Handle cross-builds for gdbserver.
@
text
@d6 1
a6 2
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \
    ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc"
@


1.15
log
@SVN rev 204335 on 2010-02-25 21:29:00Z by jkim

Initial gdbserver support for amd64.
@
text
@d5 3
a7 1
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"
@


1.14
log
@SVN rev 188941 on 2009-02-23 18:22:49Z by raj

Initial gdbserver support for PowerPC.

Obtained from:	Juniper Networks, Semihalf
@
text
@d5 1
a5 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
@


1.14.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.14.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/gdb/Makefile 188941 2009-02-23 18:22:49Z raj $
@


1.14.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/gdb/Makefile 188941 2009-02-23 18:22:49Z raj $
@


1.14.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.13
log
@SVN rev 185023 on 2008-11-17 16:32:57Z by raj

Initial gdbserver support for ARM.

Obtained from:	Juniper Networks, Semihalf
@
text
@d5 1
a5 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm"
@


1.12
log
@Turn on gdbserver for the arch that supports it..
@
text
@d5 1
a5 1
.if ${MACHINE_ARCH} == "i386"
@


1.12.2.1
log
@SVN rev 207777 on 2010-05-08 13:23:57Z by imp

MFC 185023 (by raj):
  Initial gdbserver support for ARM.
  Obtained from:  Juniper Networks, Semihalf
@
text
@d5 1
a5 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm"
@


1.12.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/gdb/Makefile 207777 2010-05-08 13:23:57Z imp $
@


1.12.2.1.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/gdb/Makefile 207777 2010-05-08 13:23:57Z imp $
@


1.12.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.12.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.12.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.11
log
@Add initial support for kgdb(1) on PowerPC.
@
text
@d5 4
@


1.10
log
@Add basic support for PowerPC. This excludes kgdb(1).
@
text
@d3 1
a3 5
SUBDIR=	doc libgdb gdb gdbtui

.if ${MACHINE_ARCH} != "powerpc"
SUBDIR+= kgdb
.endif
@


1.9
log
@Hook kgdb into the build.
@
text
@d3 5
a7 1
SUBDIR=	doc libgdb gdb gdbtui kgdb
@


1.9.18.1
log
@MFC:
+ Turn on gdbserver for the arch that supports it.
+ Fix static/extern mismatch.
+ Remove extern int verbose declaration.

Approved by:	re(kensmith)
@
text
@a4 4
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=gdbserver
.endif

@


1.9.8.1
log
@MFC:
+ Turn on gdbserver for the arch that supports it.
+ Fix static/extern mismatch.
+ Remove extern int verbose declaration.
@
text
@a4 4
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=gdbserver
.endif

@


1.9.8.2
log
@SVN rev 207776 on 2010-05-08 13:21:22Z by imp

Merge gdbserver support for arm from head (r185023).
@
text
@d5 1
a5 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm"
@


1.9.8.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/gdb/Makefile 207776 2010-05-08 13:21:22Z imp $
@


1.9.8.1.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.8
log
@Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.
@
text
@d3 1
a3 1
SUBDIR=	doc libgdb gdb gdbtui
@


1.7
log
@Remove old bmake framework for gdb. It has moved to live next to binutils.
@
text
@d1 3
a3 1
SUBDIR= bfd libiberty gdb doc gdbreplay gdbserver
@


1.6
log
@Activate gdbserver and gdbreplay
@
text
@@


1.6.2.1
log
@MFC: Import gdb-4.18

Approved by: core
@
text
@@


1.5
log
@changes required in the top-level directory for making gdb
using the sources in /usr/src/contrib/gdb.

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

2.2 candidate ?
@
text
@d1 1
a1 1
SUBDIR= bfd libiberty gdb doc
@


1.4
log
@doc added
@
text
@d1 1
a1 1
SUBDIR= bfd libiberty mmalloc gdb doc
@


1.4.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
@d1 1
a1 2
# XXX doc currently broken, needs fixing
SUBDIR= bfd libiberty gdb # doc
@


1.4.6.2
log
@Resurrect the broken `doc' subdir, now that i've got access to a real
2.2 machine.
@
text
@d1 2
a2 1
SUBDIR= bfd libiberty gdb doc
@


1.4.6.3
log
@Merge from head: Activate gdbserver and gdbreplay
@
text
@d1 1
a1 1
SUBDIR= bfd libiberty gdb doc gdbserver gdbreplay
@


1.3
log
@Two files I "lost" the first time.
GDB4:
@
text
@d1 1
a1 1
SUBDIR= bfd libiberty mmalloc gdb
@


1.2
log
@Remove readline copy, now gdb use gnu lib tree libreadline
@
text
@d1 1
a1 1
#	@@(#)Makefile	6.4 (Berkley) 5/6/91
d3 1
a3 33
PROG=		gdb
GDBSRCS=	blockframe.c breakpoint.c command.c copying.c core.c \
		cplus-dem.c dbxread.c environ.c eval.c expprint.c \
		expread.y findvar.c infcmd.c inflow.c infrun.c \
		main.c obstack.c printcmd.c regex.c remote.c \
		remote-sl.c source.c stack.c symmisc.c symtab.c \
		utils.c valarith.c valops.c valprint.c values.c \
		version.c
SRCS=           $(CONFIGSRCS) $(GDBSRCS) init.c
CFLAGS+=        -I. -I$(.CURDIR) -I$(.CURDIR)/config \
		-DHAVE_VPRINTF -DKERNELDEBUG -DNEWVM
LDADD=          -lreadline -ltermcap
YFLAGS=
.PATH: $(.CURDIR)/config

depend:

.include "config/Makefile.$(MACHINE)"
.include <bsd.prog.mk>

$(OBJS):	param.h

#
# Generate the constructor
#
init.c:		$(CONFIGSRCS) $(GDBSRCS) $(READLINESRCS)
	-((cd $(.CURDIR)/config; \
		egrep -h '^_initialize_[^ ]* *\(\)' $(CONFIGSRCS)); \
	  (cd $(.CURDIR); egrep -h '^_initialize_[^ ]* *\(\)' $(GDBSRCS))) | \
	(echo 'void initialize_all_files () {'; sed -e 's/$$/;/'; echo '}') \
		> init.c

CLEANFILES+=	init.c param.h
@


1.1
log
@Added GNU gdb to src/gnu
@
text
@d11 4
a14 5
READLINESRCS=	funmap.c history.c keymaps.c readline.c
SRCS=		$(CONFIGSRCS) $(GDBSRCS) $(READLINESRCS) init.c
CFLAGS+=	-I. -I$(.CURDIR) -I$(.CURDIR)/config -I$(.CURDIR)/readline \
		-DHAVE_VPRINTF -DVI_MODE -DKERNELDEBUG -DNEWVM
LDADD=		-ltermcap
d16 1
a16 1
.PATH: $(.CURDIR)/config $(.CURDIR)/readline
d31 1
a31 3
	  (cd $(.CURDIR); egrep -h '^_initialize_[^ ]* *\(\)' $(GDBSRCS)); \
	  (cd $(.CURDIR)/readline; \
		egrep -h '^_initialize_[^ ]* *\(\)' $(READLINESRCS))) | \
@
