head	1.19;
access;
symbols
	RELENG_8_4:1.18.0.2
	RELENG_9_1_0_RELEASE:1.15.2.1.4.2
	RELENG_9_1:1.15.2.1.0.4
	RELENG_9_1_BP:1.15.2.1
	RELENG_8_3_0_RELEASE:1.11.10.1.8.1
	RELENG_8_3:1.11.10.1.0.8
	RELENG_8_3_BP:1.11.10.1
	RELENG_9_0_0_RELEASE:1.15.2.1.2.1
	RELENG_9_0:1.15.2.1.0.2
	RELENG_9_0_BP:1.15.2.1
	RELENG_9:1.15.0.2
	RELENG_9_BP:1.15
	RELENG_7_4_0_RELEASE:1.11.14.1
	RELENG_8_2_0_RELEASE:1.11.10.1.6.1
	RELENG_7_4:1.11.0.14
	RELENG_7_4_BP:1.11
	RELENG_8_2:1.11.10.1.0.6
	RELENG_8_2_BP:1.11.10.1
	RELENG_8_1_0_RELEASE:1.11.10.1.4.1
	RELENG_8_1:1.11.10.1.0.4
	RELENG_8_1_BP:1.11.10.1
	RELENG_7_3_0_RELEASE:1.11.12.1
	RELENG_7_3:1.11.0.12
	RELENG_7_3_BP:1.11
	RELENG_8_0_0_RELEASE:1.11.10.1.2.1
	RELENG_8_0:1.11.10.1.0.2
	RELENG_8_0_BP:1.11.10.1
	RELENG_8:1.11.0.10
	RELENG_8_BP:1.11
	RELENG_7_2_0_RELEASE:1.11.8.1
	RELENG_7_2:1.11.0.8
	RELENG_7_2_BP:1.11
	RELENG_7_1_0_RELEASE:1.11.6.1
	RELENG_6_4_0_RELEASE:1.9.2.2.2.1
	RELENG_7_1:1.11.0.6
	RELENG_7_1_BP:1.11
	RELENG_6_4:1.9.2.2.0.2
	RELENG_6_4_BP:1.9.2.2
	RELENG_7_0_0_RELEASE:1.11
	RELENG_6_3_0_RELEASE:1.9.2.1
	RELENG_7_0:1.11.0.4
	RELENG_7_0_BP:1.11
	RELENG_6_3:1.9.2.1.0.8
	RELENG_6_3_BP:1.9.2.1
	RELENG_7:1.11.0.2
	RELENG_7_BP:1.11
	RELENG_6_2_0_RELEASE:1.9.2.1
	RELENG_6_2:1.9.2.1.0.6
	RELENG_6_2_BP:1.9.2.1
	RELENG_5_5_0_RELEASE:1.2.2.4
	RELENG_5_5:1.2.2.4.0.4
	RELENG_5_5_BP:1.2.2.4
	RELENG_6_1_0_RELEASE:1.9.2.1
	RELENG_6_1:1.9.2.1.0.4
	RELENG_6_1_BP:1.9.2.1
	RELENG_6_0_0_RELEASE:1.9.2.1
	RELENG_6_0:1.9.2.1.0.2
	RELENG_6_0_BP:1.9.2.1
	RELENG_6:1.9.0.2
	RELENG_6_BP:1.9
	RELENG_5_4_0_RELEASE:1.2.2.4
	RELENG_5_4:1.2.2.4.0.2
	RELENG_5_4_BP:1.2.2.4
	RELENG_5_3_0_RELEASE:1.2.2.1
	RELENG_5_3:1.2.2.1.0.2
	RELENG_5_3_BP:1.2.2.1
	RELENG_5:1.2.0.2
	RELENG_5_BP:1.2;
locks; strict;
comment	@# @;


1.19
date	2013.06.18.00.38.15;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.11.17.01.49.11;	author svnexp;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2012.08.15.03.21.56;	author gonzo;	state Exp;
branches;
next	1.16;

1.16
date	2012.03.29.02.54.35;	author jmallett;	state Exp;
branches;
next	1.15;

1.15
date	2011.01.07.20.26.33;	author imp;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2010.11.14.11.09.16;	author nyan;	state Exp;
branches;
next	1.13;

1.13
date	2010.11.14.01.52.19;	author imp;	state Exp;
branches;
next	1.12;

1.12
date	2010.11.10.06.39.49;	author imp;	state Exp;
branches;
next	1.11;

1.11
date	2006.04.10.09.00.19;	author ru;	state Exp;
branches
	1.11.2.1
	1.11.6.1
	1.11.8.1
	1.11.10.1
	1.11.12.1
	1.11.14.1;
next	1.10;

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

1.9
date	2005.02.14.12.10.14;	author obrien;	state Exp;
branches
	1.9.2.1;
next	1.8;

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

1.7
date	2004.12.05.04.08.22;	author marcel;	state Exp;
branches;
next	1.6;

1.6
date	2004.11.30.05.12.37;	author marcel;	state Exp;
branches;
next	1.5;

1.5
date	2004.11.09.06.02.48;	author marcel;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.24.15.32.28;	author ru;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.22.10.59.33;	author davidxu;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.08.22.45.36;	author davidxu;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2004.06.25.06.48.54;	author marcel;	state Exp;
branches;
next	;

1.18.2.1
date	2012.11.17.01.49.11;	author svnexp;	state dead;
branches;
next	1.18.2.2;

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

1.15.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.15.2.1.2.1
	1.15.2.1.4.1;
next	1.15.2.2;

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

1.15.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.15.2.1.2.2;

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

1.15.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.15.2.1.4.2;

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

1.11.2.1
date	2012.11.17.08.01.33;	author svnexp;	state Exp;
branches;
next	;

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

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

1.11.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.11.10.1.2.1
	1.11.10.1.4.1
	1.11.10.1.6.1
	1.11.10.1.8.1;
next	1.11.10.2;

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

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

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

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

1.11.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.11.10.1.8.2;

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

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

1.11.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.11.14.2;

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

1.9.2.1
date	2005.09.15.05.32.11;	author marcel;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2007.12.04.16.28.10;	author obrien;	state Exp;
branches
	1.9.2.2.2.1;
next	1.9.2.3;

1.9.2.3
date	2012.11.17.07.39.19;	author svnexp;	state Exp;
branches;
next	;

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

1.2.2.1
date	2004.09.04.09.54.42;	author davidxu;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2005.02.13.07.23.09;	author obrien;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2005.03.01.20.27.45;	author obrien;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	2005.03.02.04.02.21;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251858
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 251858 2013-06-17 18:34:34Z emaste $

# These assignments duplicate much of the functionality of
# MACHINE_CPUARCH, but there's no easy way to export make functions...

.if defined(TARGET_ARCH)
TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/}
.else
TARGET_CPUARCH=${MACHINE_CPUARCH}
.endif
TARGET_ARCH?=	${MACHINE_ARCH}

LIB=	gdb
INTERNALLIB=
SRCS=	annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
	bcache.c bfd-target.c block.c blockframe.c breakpoint.c \
	buildsym.c \
	c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \
	cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \
	cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \
	coffread.c complaints.c completer.c copying.c corefile.c \
	corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \
	dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \
	dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \
	dwarf2read.c dwarfread.c \
	elfread.c environ.c eval.c event-loop.c event-top.c exec.c \
	expprint.c \
	f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
	${_fork_child} frame-base.c frame-unwind.c frame.c \
	gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
	hpacc-abi.c \
	inf-loop.c infcall.c infcmd.c inflow.c ${_infptrace} infrun.c \
	${_inftarg} init.c interps.c \
	jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c	\
	kod-cisco.c kod.c \
	language.c linespec.c \
	m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c macrocmd.c \
	macroexp.c macroscope.c	macrotab.c main.c maint.c mdebugread.c \
	mem-break.c memattr.c mi-cmd-break.c mi-cmd-disas.c \
	mi-cmd-env.c mi-cmd-file.c mi-cmd-stack.c mi-cmd-var.c \
	mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \
	mi-out.c mi-parse.c mi-symbol-cmds.c minsyms.c mipsread.c \
	nlmread.c \
	objc-exp.y objc-lang.c objfiles.c observer.c osabi.c \
	p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
	regcache.c reggroups.c remote-fileio.c remote-utils.c remote.c \
	scm-exp.c scm-lang.c scm-valprint.c sentinel-frame.c ser-pipe.c \
	ser-tcp.c ser-unix.c serial.c signals.c source.c stabsread.c \
	stack.c std-regs.c symfile.c symmisc.c symtab.c \
	target.c thread.c top.c tracepoint.c trad-frame.c tui-command.c \
	tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \
	tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \
	tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \
	tui-winsource.c tui.c typeprint.c \
	ui-file.c ui-out.c user-regs.c utils.c \
	valarith.c valops.c valprint.c values.c varobj.c \
	wrapper.c ${LIBSRCS}

.for stupid_gnu in \
xregcomp xre_exec xregexec xre_search xre_compile_fastmap xregerror xre_comp xre_set_syntax
CFLAGS+= -D${stupid_gnu}=${stupid_gnu:S/^x//}
.endfor

.if ${TARGET_ARCH} == ${MACHINE_ARCH}
_fork_child= fork-child.c
_infptrace= infptrace.c
_inftarg= inftarg.c
.endif

GENSRCS= version.c

version.c:
	echo '#include "version.h"' >  ${.TARGET}
	echo 'const char version[] = ${VERSION};' >> ${.TARGET}
	echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \
	    >> ${.TARGET}
	echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \
	    >> ${.TARGET}

.include <bsd.lib.mk>
@


1.18
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/gnu/usr.bin/gdb/libgdb/Makefile 239272 2012-08-15 03:21:56Z gonzo $
d29 1
a29 1
	${_fork_child} frame-base.c frame-unwind-kluge.c frame.c \
d70 1
a70 7
GENSRCS= frame-unwind-kluge.c version.c

frame-unwind-kluge.c: frame-unwind.diff
	cat ${CNTRB_GDB}/gdb/frame-unwind.c > ${.TARGET}
	patch ${.TARGET} ${.ALLSRC}

CLEANFILES= frame-unwind-kluge.c.orig
@


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


1.18.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 78
# $FreeBSD: releng/8.4/gnu/usr.bin/gdb/libgdb/Makefile 157626 2006-04-10 09:00:19Z ru $

TARGET_ARCH?= ${MACHINE_ARCH}

LIB=	gdb
INTERNALLIB=
SRCS=	annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
	bcache.c bfd-target.c block.c blockframe.c breakpoint.c \
	buildsym.c \
	c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \
	cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \
	cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \
	coffread.c complaints.c completer.c copying.c corefile.c \
	corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \
	dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \
	dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \
	dwarf2read.c dwarfread.c \
	elfread.c environ.c eval.c event-loop.c event-top.c exec.c \
	expprint.c \
	f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
	${_fork_child} frame-base.c frame-unwind-kluge.c frame.c \
	gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
	hpacc-abi.c \
	inf-loop.c infcall.c infcmd.c inflow.c ${_infptrace} infrun.c \
	${_inftarg} init.c interps.c \
	jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c	\
	kod-cisco.c kod.c \
	language.c linespec.c \
	m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c macrocmd.c \
	macroexp.c macroscope.c	macrotab.c main.c maint.c mdebugread.c \
	mem-break.c memattr.c mi-cmd-break.c mi-cmd-disas.c \
	mi-cmd-env.c mi-cmd-file.c mi-cmd-stack.c mi-cmd-var.c \
	mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \
	mi-out.c mi-parse.c mi-symbol-cmds.c minsyms.c mipsread.c \
	nlmread.c \
	objc-exp.y objc-lang.c objfiles.c observer.c osabi.c \
	p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
	regcache.c reggroups.c remote-fileio.c remote-utils.c remote.c \
	scm-exp.c scm-lang.c scm-valprint.c sentinel-frame.c ser-pipe.c \
	ser-tcp.c ser-unix.c serial.c signals.c source.c stabsread.c \
	stack.c std-regs.c symfile.c symmisc.c symtab.c \
	target.c thread.c top.c tracepoint.c trad-frame.c tui-command.c \
	tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \
	tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \
	tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \
	tui-winsource.c tui.c typeprint.c \
	ui-file.c ui-out.c user-regs.c utils.c \
	valarith.c valops.c valprint.c values.c varobj.c \
	wrapper.c ${LIBSRCS}

.for stupid_gnu in \
xregcomp xre_exec xregexec xre_search xre_compile_fastmap xregerror xre_comp xre_set_syntax
CFLAGS+= -D${stupid_gnu}=${stupid_gnu:S/^x//}
.endfor

.if ${TARGET_ARCH} == ${MACHINE_ARCH}
_fork_child= fork-child.c
_infptrace= infptrace.c
_inftarg= inftarg.c
.endif

GENSRCS= frame-unwind-kluge.c version.c

frame-unwind-kluge.c: frame-unwind.diff
	cat ${CNTRB_GDB}/gdb/frame-unwind.c > ${.TARGET}
	patch ${.TARGET} ${.ALLSRC}

CLEANFILES= frame-unwind-kluge.c.orig

version.c:
	echo '#include "version.h"' >  ${.TARGET}
	echo 'const char version[] = ${VERSION};' >> ${.TARGET}
	echo 'const char host_name[] = "${MACHINE_ARCH}-${VENDOR}-freebsd";' \
	    >> ${.TARGET}
	echo 'const char target_name[] = "${TARGET_ARCH}-${VENDOR}-freebsd";' \
	    >> ${.TARGET}

.include <bsd.lib.mk>
@


1.17
log
@SVN rev 239272 on 2012-08-15 03:21:56Z by gonzo

Merging of projects/armv6, part 3

r238211:
Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb

This adds a new TARGET_ARCH for building on ARM
processors that support the ARMv6K multiprocessor
extensions.  In particular, these processors have
better support for TLS and mutex operations.

This mostly touches a lot of Makefiles to extend
existing patterns for inferring CPUARCH from ARCH.
It also configures:
 * GCC to default to arm1176jz-s
 * GCC to predefine __FreeBSD_ARCH_armv6__
 * gas to default to ARM_ARCH_V6K
 * uname -p to return 'armv6'
 * make so that MACHINE_ARCH defaults to 'armv6'
It also changes a number of headers to use
the compiler __ARM_ARCH_XXX__ macros to configure
processor-specific support routines.

Submitted by:	Tim Kientzle <kientzle@@freebsd.org>
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.16
log
@SVN rev 233644 on 2012-03-29 02:54:35Z by jmallett

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software.  MIPS builds which are little-endian
should require and exhibit no changes.  Big-endian TARGET_ARCHes must be
changed:
	From:		To:
	mipseb		mips
	mipsn32eb	mipsn32
	mips64eb	mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.
@
text
@d7 1
a7 1
TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/}
@


1.15
log
@SVN rev 217123 on 2011-01-07 20:26:33Z by imp

Retire TARGET_ABI.

Implement MACHINE_ARCH=mips64e[lb] to build N64 images.  This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs.  I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could.  Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.
@
text
@d7 1
a7 1
TARGET_CPUARCH=${TARGET_ARCH:C/mips.*e[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc/}
@


1.15.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.15.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/libgdb/Makefile 217123 2011-01-07 20:26:33Z imp $
@


1.15.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.15.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/gdb/libgdb/Makefile 217123 2011-01-07 20:26:33Z imp $
@


1.15.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.15.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/gdb/libgdb/Makefile 217123 2011-01-07 20:26:33Z imp $
@


1.14
log
@SVN rev 215292 on 2010-11-14 11:09:16Z by nyan

Add missing '/'.
@
text
@d7 1
a7 1
TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc/}
@


1.13
log
@SVN rev 215276 on 2010-11-14 01:52:19Z by imp

We need to add powerpc64->powerpc translations (I knew I hated copying
this code in the first place).

Also MACHINE_ARCH powerpc is 32-bit, not MACHINE_CPUARCH == powerpc.

Submitted by:	nathanw
@
text
@d7 1
a7 1
TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/:C/powerpc64/powerpc}
@


1.12
log
@SVN rev 215082 on 2010-11-10 06:39:49Z by imp

Complete the integration of tbemd branch into head.

TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming.  Any remaining rough edges
will be hammered out in -current.
@
text
@d7 1
a7 1
TARGET_CPUARCH=${TARGET_ARCH:C/mipse[bl]/mips/:C/armeb/arm/}
@


1.11
log
@Clean the product of patch(1).
@
text
@d3 9
a11 1
TARGET_ARCH?= ${MACHINE_ARCH}
@


1.11.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/gdb/libgdb/Makefile 157626 2006-04-10 09:00:19Z ru $
@


1.11.14.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.11.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/gdb/libgdb/Makefile 157626 2006-04-10 09:00:19Z ru $
@


1.11.12.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.11.10.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.11.10.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/libgdb/Makefile 157626 2006-04-10 09:00:19Z ru $
@


1.11.10.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.11.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/gdb/libgdb/Makefile 157626 2006-04-10 09:00:19Z ru $
@


1.11.10.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.11.10.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.11.10.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.11.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.11.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.10
log
@Add a kluge to allow kgdb(1) to inject its own frame sniffer in the
list of frame sniffers so that trapframes can be detected. The kluge
is needed because this version of gdb only supports appending a
sniffer to the list of sniffers and the moment kgdb gets a chance to
add its own frame sniffer, the target's default frame sniffer is
already in the list. Since the default frame sniffer claims any
frame thrown at it, kgdb's frame sniffer never gets to smell (a
process much akin to tasting, but with lesser chance of hurling :-)

This commit adds dummy frame sniffers that never claim a frame and
as such don't fix anything yet. However, we now have frame sniffers
and they are being called, so it's just a matter of adding meat to
the bones and we'll be able to properly unwind across trapframes.

MFC after: 1 week
@
text
@d68 2
@


1.9
log
@Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them.

Reviewed by:	marcel,imp
Desired by:	ache
@
text
@d21 1
a21 1
	${_fork_child} frame-base.c frame-unwind.c frame.c \
d62 5
a66 1
GENSRCS= version.c
@


1.9.2.1
log
@Mega-MFC:
o  Manpage type fix:
	kgdb/kgdb.1: 1.8

o  Unwind across trapframes:
	kgdb/kgdb.h: 1.3
	kgdb/kthr.c: 1.3
	kgdb/main.c: 1.9
	kgdb/trgt.c: 1.4
	kgdb/trgt_alpha.c: 1.3, 1.4
	kgdb/trgt_amd64.c: 1.3, 1.4, 1.5
	kgdb/trgt_i386.c: 1.3, 1.4, 1.5
	kgdb/trgt_ia64.c: 1.3, 1.4
	kgdb/trgt_sparc64.c: 1.4, 1.5, 1.6
	libgdb/Makefile: 1.10
	libgdb/frame-unwind.diff: 1.1

Approved by: re (scottl)
@
text
@d21 1
a21 1
	${_fork_child} frame-base.c frame-unwind-kluge.c frame.c \
d62 1
a62 5
GENSRCS= frame-unwind-kluge.c version.c

frame-unwind-kluge.c: frame-unwind.diff
	cat ${CNTRB_GDB}/gdb/frame-unwind.c > ${.TARGET}
	patch ${.TARGET} ${.ALLSRC}
@


1.9.2.2
log
@MFC: product of patch(1)
@
text
@a67 2
CLEANFILES= frame-unwind-kluge.c.orig

@


1.9.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/gdb/libgdb/Makefile 174260 2007-12-04 16:28:10Z obrien $
@


1.9.2.2.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
@Source changes to allow building a cross-debugger. Move solib.c and
solib-svr4.c to the MD makefiles because they are native files for
alpha and sparc64, but target files for amd64, i386 and ia64.

Note that kgdb(1) does not yet build as a cross-debugger due to
libkvm.
@
text
@d51 5
@


1.7
log
@Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for all
subdirectories.
@
text
@d40 2
a41 3
	ser-tcp.c ser-unix.c serial.c signals.c solib.c solib-svr4.c \
	source.c stabsread.c stack.c std-regs.c symfile.c symmisc.c \
	symtab.c \
@


1.6
log
@Makefile (only) changes to allow building a cross debugger.
@
text
@a3 3
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
GDB_CROSS_DEBUGGER=
.endif
d52 1
a52 6
TARGET_ARCH?= ${MACHINE_ARCH}
.if ${TARGET_ARCH} != ${MACHINE_ARCH}
GDB_CROSS_DEBUGGER=
.endif

.if !defined(GDB_CROSS_DEBUGGER)
@


1.5
log
@Prepare for a subsequent import: If the first letter of the filename
changes, start on a new line. Insertion of a filename will keep the
diff limited to the block of filenames that have the same first letter
instead of creating a huge diff. While here, move remote.c after the
remote-*.c files and move tui.c after the tui-*.c files. This matches
the order of ls(1) and makes it easier to compare object files created
by a stock gdb(1) build with the list of files we have here.

This is a non-functional change only.
@
text
@d3 5
d24 1
a24 1
	fork-child.c frame-base.c frame-unwind.c frame.c \
d27 2
a28 2
	inf-loop.c infcall.c infcmd.c inflow.c infptrace.c infrun.c \
	inftarg.c init.c interps.c \
d55 4
a58 1
GENSRCS= version.c
d60 4
a63 2
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
LIBSRCS+= fbsd-threads.c
d66 2
@


1.4
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d5 43
a47 35
SRCS=	annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c bcache.c	\
	bfd-target.c block.c blockframe.c breakpoint.c buildsym.c	\
	c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c		\
	cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c	\
	cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c	\
	coffread.c complaints.c completer.c copying.c corefile.c	\
	corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c	\
	dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c	\
	dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c		\
	dwarf2read.c dwarfread.c elfread.c environ.c eval.c		\
	event-loop.c event-top.c exec.c expprint.c f-exp.y f-lang.c	\
	f-typeprint.c f-valprint.c findvar.c fork-child.c frame-base.c	\
	frame-unwind.c frame.c gdb-events.c gdbarch.c gdbtypes.c	\
	gnu-v2-abi.c gnu-v3-abi.c hpacc-abi.c inf-loop.c infcall.c	\
	infcmd.c inflow.c infptrace.c infrun.c inftarg.c init.c		\
	interps.c jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c	\
	kod-cisco.c kod.c language.c linespec.c m2-exp.y m2-lang.c	\
	m2-typeprint.c m2-valprint.c macrocmd.c macroexp.c macroscope.c	\
	macrotab.c main.c maint.c mdebugread.c mem-break.c memattr.c	\
	mi-cmd-break.c mi-cmd-disas.c mi-cmd-env.c mi-cmd-file.c	\
	mi-cmd-stack.c mi-cmd-var.c mi-cmds.c mi-console.c mi-getopt.c	\
	mi-interp.c mi-main.c mi-out.c mi-parse.c mi-symbol-cmds.c	\
	minsyms.c mipsread.c nlmread.c objc-exp.y objc-lang.c		\
	objfiles.c observer.c osabi.c p-exp.y p-lang.c p-typeprint.c	\
	p-valprint.c parse.c printcmd.c regcache.c reggroups.c remote.c	\
	remote-fileio.c remote-utils.c scm-exp.c scm-lang.c		\
	scm-valprint.c sentinel-frame.c ser-pipe.c ser-tcp.c ser-unix.c	\
	serial.c signals.c solib.c solib-svr4.c source.c stabsread.c	\
	stack.c std-regs.c symfile.c symmisc.c symtab.c target.c	\
	thread.c top.c tracepoint.c trad-frame.c tui.c tui-command.c	\
	tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c	\
	tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c		\
	tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c		\
	tui-winsource.c typeprint.c ui-file.c ui-out.c user-regs.c	\
	utils.c valarith.c valops.c valprint.c values.c varobj.c	\
@


1.3
log
@Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.
@
text
@d4 1
a4 1
INTERNALLIB= yes
@


1.2
log
@1. Add some code check if thread suspending or resuming is failed.
2. Add code to retrieve thread tls address.
@
text
@d40 1
a40 1
	wrapper.c fbsd-threads.c ${LIBSRCS}
d43 4
@


1.2.2.1
log
@MFC: Only compile fbsd-thread.c on amd64 and i386.

Approved by: re (scottl)
@
text
@d40 1
a40 1
	wrapper.c ${LIBSRCS}
a42 4

.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
LIBSRCS+= fbsd-threads.c
.endif
@


1.2.2.2
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d4 1
a4 1
INTERNALLIB=
@


1.2.2.3
log
@MFC: use the system gnuregex library vs. building GNU regex bits into libiberty.
@
text
@a47 5
.for stupid_gnu in \
xregcomp xre_exec xregexec xre_search xre_compile_fastmap xregerror xre_comp xre_set_syntax
CFLAGS+= -D${stupid_gnu}=${stupid_gnu:S/^x//}
.endfor

@


1.2.2.4
log
@MFC: rev 1.5: modify SRCS organization.
@
text
@d5 35
a39 43
SRCS=	annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
	bcache.c bfd-target.c block.c blockframe.c breakpoint.c \
	buildsym.c \
	c-exp.y c-lang.c c-typeprint.c c-valprint.c charset.c \
	cli-cmds.c cli-decode.c cli-dump.c cli-interp.c cli-logging.c \
	cli-out.c cli-script.c cli-setshow.c cli-utils.c coff-pe-read.c \
	coffread.c complaints.c completer.c copying.c corefile.c \
	corelow.c cp-abi.c cp-namespace.c cp-support.c cp-valprint.c \
	dbxread.c dcache.c demangle.c dictionary.c disasm.c doublest.c \
	dummy-frame.c dwarf2-frame.c dwarf2expr.c dwarf2loc.c \
	dwarf2read.c dwarfread.c \
	elfread.c environ.c eval.c event-loop.c event-top.c exec.c \
	expprint.c \
	f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
	fork-child.c frame-base.c frame-unwind.c frame.c \
	gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
	hpacc-abi.c \
	inf-loop.c infcall.c infcmd.c inflow.c infptrace.c infrun.c \
	inftarg.c init.c interps.c \
	jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c	\
	kod-cisco.c kod.c \
	language.c linespec.c \
	m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c macrocmd.c \
	macroexp.c macroscope.c	macrotab.c main.c maint.c mdebugread.c \
	mem-break.c memattr.c mi-cmd-break.c mi-cmd-disas.c \
	mi-cmd-env.c mi-cmd-file.c mi-cmd-stack.c mi-cmd-var.c \
	mi-cmds.c mi-console.c mi-getopt.c mi-interp.c mi-main.c \
	mi-out.c mi-parse.c mi-symbol-cmds.c minsyms.c mipsread.c \
	nlmread.c \
	objc-exp.y objc-lang.c objfiles.c observer.c osabi.c \
	p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
	regcache.c reggroups.c remote-fileio.c remote-utils.c remote.c \
	scm-exp.c scm-lang.c scm-valprint.c sentinel-frame.c ser-pipe.c \
	ser-tcp.c ser-unix.c serial.c signals.c solib.c solib-svr4.c \
	source.c stabsread.c stack.c std-regs.c symfile.c symmisc.c \
	symtab.c \
	target.c thread.c top.c tracepoint.c trad-frame.c tui-command.c \
	tui-data.c tui-disasm.c tui-file.c tui-hooks.c tui-interp.c \
	tui-io.c tui-layout.c tui-out.c tui-regs.c tui-source.c \
	tui-stack.c tui-win.c tui-windata.c tui-wingeneral.c \
	tui-winsource.c tui.c typeprint.c \
	ui-file.c ui-out.c user-regs.c utils.c \
	valarith.c valops.c valprint.c values.c varobj.c \
@


1.1
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
@d40 1
a40 1
	wrapper.c ${LIBSRCS}
@

