head	1.20;
access;
symbols
	RELENG_8_4:1.20.0.2
	RELENG_9_1_0_RELEASE:1.17.2.3.2.2
	RELENG_9_1:1.17.2.3.0.2
	RELENG_9_1_BP:1.17.2.3
	RELENG_8_3_0_RELEASE:1.15.2.1.8.1
	RELENG_8_3:1.15.2.1.0.8
	RELENG_8_3_BP:1.15.2.1
	RELENG_9_0_0_RELEASE:1.17.2.1.2.1
	RELENG_9_0:1.17.2.1.0.2
	RELENG_9_0_BP:1.17.2.1
	RELENG_9:1.17.0.2
	RELENG_9_BP:1.17
	RELENG_7_4_0_RELEASE:1.10.2.1.4.1
	RELENG_8_2_0_RELEASE:1.15.2.1.6.1
	RELENG_7_4:1.10.2.1.0.4
	RELENG_7_4_BP:1.10.2.1
	RELENG_8_2:1.15.2.1.0.6
	RELENG_8_2_BP:1.15.2.1
	RELENG_8_1_0_RELEASE:1.15.2.1.4.1
	RELENG_8_1:1.15.2.1.0.4
	RELENG_8_1_BP:1.15.2.1
	RELENG_7_3_0_RELEASE:1.10.2.1.2.1
	RELENG_7_3:1.10.2.1.0.2
	RELENG_7_3_BP:1.10.2.1
	RELENG_8_0_0_RELEASE:1.15.2.1.2.1
	RELENG_8_0:1.15.2.1.0.2
	RELENG_8_0_BP:1.15.2.1
	RELENG_8:1.15.0.2
	RELENG_8_BP:1.15
	RELENG_7_2_0_RELEASE:1.10.8.1
	RELENG_7_2:1.10.0.8
	RELENG_7_2_BP:1.10
	RELENG_7_1_0_RELEASE:1.10.6.1
	RELENG_6_4_0_RELEASE:1.5.8.1.10.1
	RELENG_7_1:1.10.0.6
	RELENG_7_1_BP:1.10
	RELENG_6_4:1.5.8.1.0.10
	RELENG_6_4_BP:1.5.8.1
	RELENG_7_0_0_RELEASE:1.10
	RELENG_6_3_0_RELEASE:1.5.8.1
	RELENG_7_0:1.10.0.4
	RELENG_7_0_BP:1.10
	RELENG_6_3:1.5.8.1.0.8
	RELENG_6_3_BP:1.5.8.1
	RELENG_7:1.10.0.2
	RELENG_7_BP:1.10
	RELENG_6_2_0_RELEASE:1.5.8.1
	RELENG_6_2:1.5.8.1.0.6
	RELENG_6_2_BP:1.5.8.1
	RELENG_5_5_0_RELEASE:1.5
	RELENG_5_5:1.5.0.10
	RELENG_5_5_BP:1.5
	RELENG_6_1_0_RELEASE:1.5.8.1
	RELENG_6_1:1.5.8.1.0.4
	RELENG_6_1_BP:1.5.8.1
	RELENG_6_0_0_RELEASE:1.5.8.1
	RELENG_6_0:1.5.8.1.0.2
	RELENG_6_0_BP:1.5.8.1
	RELENG_6:1.5.0.8
	RELENG_6_BP:1.5
	RELENG_5_4_0_RELEASE:1.5
	RELENG_5_4:1.5.0.6
	RELENG_5_4_BP:1.5
	RELENG_5_3_0_RELEASE:1.5
	RELENG_5_3:1.5.0.4
	RELENG_5_3_BP:1.5
	RELENG_5:1.5.0.2
	RELENG_5_BP:1.5;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.01.50.03;	author svnexp;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2012.02.28.18.30.18;	author dim;	state Exp;
branches;
next	1.18;

1.18
date	2011.12.16.15.00.56;	author dim;	state Exp;
branches;
next	1.17;

1.17
date	2010.08.23.22.24.11;	author imp;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2010.01.02.09.58.07;	author ed;	state Exp;
branches;
next	1.15;

1.15
date	2008.08.06.03.14.18;	author marcel;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2008.07.31.16.26.58;	author marcel;	state Exp;
branches;
next	1.13;

1.13
date	2008.07.31.05.25.52;	author marcel;	state Exp;
branches;
next	1.12;

1.12
date	2008.03.23.09.38.11;	author jeff;	state Exp;
branches;
next	1.11;

1.11
date	2008.03.12.09.49.39;	author jeff;	state Exp;
branches;
next	1.10;

1.10
date	2007.05.21.02.49.07;	author deischen;	state Exp;
branches
	1.10.2.1
	1.10.6.1
	1.10.8.1;
next	1.9;

1.9
date	2007.05.13.14.12.40;	author deischen;	state Exp;
branches;
next	1.8;

1.8
date	2006.10.05.06.26.31;	author davidxu;	state Exp;
branches;
next	1.7;

1.7
date	2006.03.29.14.08.45;	author deischen;	state Exp;
branches;
next	1.6;

1.6
date	2005.07.22.17.19.03;	author kensmith;	state Exp;
branches;
next	1.5;

1.5
date	2004.08.16.03.30.16;	author davidxu;	state Exp;
branches
	1.5.8.1;
next	1.4;

1.4
date	2004.08.08.22.37.53;	author davidxu;	state Exp;
branches;
next	1.3;

1.3
date	2004.07.18.19.33.56;	author marcel;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.18.04.17.13;	author marcel;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.15.03.36.35;	author davidxu;	state Exp;
branches;
next	;

1.20.2.1
date	2012.11.17.01.50.03;	author svnexp;	state dead;
branches;
next	1.20.2.2;

1.20.2.2
date	2013.03.28.13.03.21;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.17.2.1.2.1;
next	1.17.2.2;

1.17.2.2
date	2011.12.31.17.14.56;	author dim;	state Exp;
branches;
next	1.17.2.3;

1.17.2.3
date	2012.03.13.18.39.57;	author dim;	state Exp;
branches
	1.17.2.3.2.1;
next	1.17.2.4;

1.17.2.4
date	2012.11.17.11.36.26;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.17.2.1.2.2;

1.17.2.1.2.2
date	2012.11.17.08.36.27;	author svnexp;	state Exp;
branches;
next	;

1.17.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.17.2.3.2.2;

1.17.2.3.2.2
date	2012.11.17.08.47.16;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.15.2.1.2.1
	1.15.2.1.4.1
	1.15.2.1.6.1
	1.15.2.1.8.1;
next	1.15.2.2;

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

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

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

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

1.15.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.15.2.1.8.2;

1.15.2.1.8.2
date	2012.11.17.08.24.51;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2009.06.09.00.47.54;	author des;	state Exp;
branches
	1.10.2.1.2.1
	1.10.2.1.4.1;
next	1.10.2.2;

1.10.2.2
date	2012.11.17.08.03.03;	author svnexp;	state Exp;
branches;
next	;

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

1.10.2.1.4.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.10.2.1.4.2;

1.10.2.1.4.2
date	2012.11.17.08.16.50;	author svnexp;	state Exp;
branches;
next	;

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

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

1.5.8.1
date	2005.07.22.17.29.08;	author kensmith;	state Exp;
branches
	1.5.8.1.10.1;
next	1.5.8.2;

1.5.8.2
date	2009.05.14.13.36.39;	author attilio;	state Exp;
branches;
next	1.5.8.3;

1.5.8.3
date	2010.05.08.13.41.01;	author imp;	state Exp;
branches;
next	1.5.8.4;

1.5.8.4
date	2012.11.17.07.40.40;	author svnexp;	state Exp;
branches;
next	;

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


desc
@@


1.20
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/lib/libthread_db/Makefile 232263 2012-02-28 18:30:18Z dim $

.PATH:	${.CURDIR}/arch/${MACHINE_CPUARCH}

LIB=	thread_db
SHLIB_MAJOR= 3
SRCS=	thread_db.c
SRCS+=	libpthread_md.c
SRCS+=	libpthread_db.c
SRCS+=	libthr_db.c
INCS=	thread_db.h

CFLAGS+=-I. -I${.CURDIR}
SYM_MAPS+=${.CURDIR}/Symbol.map

SYMBOL_MAPS=${SYM_MAPS}
VERSION_DEF=${.CURDIR}/../libc/Versions.def

# Unfortunately, clang gives an incorrect warning about alignment in
# arch/i386/libpthread_md.c, so turn that off for now.
NO_WCAST_ALIGN.clang=

.include <bsd.lib.mk>
@


1.20.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:21 +0000
@
text
@d1 23
@


1.20.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 20
# $FreeBSD: releng/8.4/lib/libthread_db/Makefile 181341 2008-08-06 03:14:18Z marcel $

.PATH:	${.CURDIR}/arch/${MACHINE_ARCH}

LIB=	thread_db
SHLIB_MAJOR= 3
SRCS=	thread_db.c
SRCS+=	libpthread_md.c
SRCS+=	libpthread_db.c
SRCS+=	libthr_db.c
INCS=	thread_db.h
WARNS?= 6

CFLAGS+=-I. -I${.CURDIR}
SYM_MAPS+=${.CURDIR}/Symbol.map

SYMBOL_MAPS=${SYM_MAPS}
VERSION_DEF=${.CURDIR}/../libc/Versions.def

.include <bsd.lib.mk>
@


1.19
log
@SVN rev 232263 on 2012-02-28 18:30:18Z by dim

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.18
log
@SVN rev 228578 on 2011-12-16 15:00:56Z by dim

In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect
warnings about alignment, so turn -Wcast-align off for now.

MFC after:	1 week
@
text
@a18 1
.if ${CC:T:Mclang} == "clang"
d21 1
a21 2
NO_WCAST_ALIGN=
.endif
@


1.17
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
@d19 6
@


1.17.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.17.2.2
log
@SVN rev 229129 on 2011-12-31 17:14:56Z by dim

MFC r228578

In lib/libthread_db/arch/i386/libpthread_md.c, clang gives two incorrect
warnings about alignment, so turn -Wcast-align off for now.
@
text
@a18 6
.if ${CC:T:Mclang} == "clang"
# Unfortunately, clang gives an incorrect warning about alignment in
# arch/i386/libpthread_md.c, so turn that off for now.
NO_WCAST_ALIGN=
.endif

@


1.17.2.3
log
@SVN rev 232930 on 2012-03-13 18:39:57Z by dim

MFC r232263:

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang       (disables -Werror)
- NO_WCAST_ALIGN.clang  (disables -Wcast-align)
- NO_WFORMAT.clang	(disables -Wformat and friends)
- CLANG_NO_IAS		(disables integrated assembler)
- CLANG_OPT_SMALL	(adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf!  For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp
@
text
@d19 1
d22 2
a23 1
NO_WCAST_ALIGN.clang=
@


1.17.2.4
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/lib/libthread_db/Makefile 232930 2012-03-13 18:39:57Z dim $
@


1.17.2.3.2.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.17.2.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/libthread_db/Makefile 232930 2012-03-13 18:39:57Z dim $
@


1.17.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.17.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/libthread_db/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.16
log
@SVN rev 201381 on 2010-01-02 09:58:07Z by ed

Build lib/ with WARNS=6 by default.

Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.

I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
@
text
@d3 1
a3 1
.PATH:	${.CURDIR}/arch/${MACHINE_ARCH}
@


1.15
log
@SVN rev 181341 on 2008-08-06 03:14:18Z by marcel

Cleanup for WARNS 6.
@
text
@a11 1
WARNS?= 6
@


1.15.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.15.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/lib/libthread_db/Makefile 181341 2008-08-06 03:14:18Z marcel $
@


1.15.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.15.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/lib/libthread_db/Makefile 181341 2008-08-06 03:14:18Z marcel $
@


1.15.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.15.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.15.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.14
log
@SVN rev 181059 on 2008-07-31 16:26:58Z by marcel

Cleanup for WARNS 3.
@
text
@d12 1
a12 1
WARNS?= 3
@


1.13
log
@SVN rev 181044 on 2008-07-31 05:25:52Z by marcel

Cleanup for WARNS 2.
@
text
@d12 1
a12 1
WARNS?= 2
@


1.12
log
@ - Restore kse.h in this directory so other tools don't find it by mistake.
 - Restore the ability to debug kse coredumps in 8.0.

Suggested by:	marcel
@
text
@d12 1
a12 1
WARNS?= 1
@


1.11
log
@ - Remove libkse and related support code in libpthread from the build.
   Don't remove the files yet.  Kernel support will be removed shortly.
@
text
@d9 1
@


1.10
log
@Bump library versions in preparation for 7.0.

Ok'd by:	kan
@
text
@d8 1
a8 1
SRCS+=	libpthread_db.c libpthread_md.c
@


1.10.2.1
log
@SVN rev 193789 on 2009-06-09 00:47:54Z by des

merge r180982,r181044,r181059,r181065,r181341,r183021: WARNS cleanup,
add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr}, and change
definition of psaddr_t (no impact on ABI).  Discussed with marcel@@, but
any screwups are my own.
@
text
@d11 1
a11 1
WARNS?= 6
@


1.10.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/lib/libthread_db/Makefile 193789 2009-06-09 00:47:54Z des $
@


1.10.2.1.4.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.10.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/lib/libthread_db/Makefile 193789 2009-06-09 00:47:54Z des $
@


1.10.2.1.2.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.10.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.10.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.9
log
@Enable symbol versioning by default.  Use WITHOUT_SYMVER to disable it.
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).

Change the default thread library to libthr.

There most likely still needs to be a version bump for at least the
thread libraries.  If necessary, this will happen later.
@
text
@d6 1
a6 1
SHLIB_MAJOR= 2
@


1.8
log
@Remove libc_r support.
@
text
@a15 1
.if defined(SYMVER_ENABLED)
a17 1
.endif
@


1.7
log
@Add symbol versioning.

Reviewed by:	davidxu
@
text
@a8 1
SRCS+=	libc_r_db.c libc_r_md.c
@


1.6
log
@Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by:	ru
Approved by:	re (not needed for commit check but in principle...)
@
text
@d15 6
@


1.5
log
@1. Use libpthread's exported symbols to calcuate offset in data structure
2. Enable TLS debugger support.
@
text
@d6 1
a6 1
SHLIB_MAJOR= 1
@


1.5.8.1
log
@Insta-MFC of the shared library version bump.  All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@d6 1
a6 1
SHLIB_MAJOR= 2
@


1.5.8.2
log
@SVN rev 192098 on 2009-05-14 13:36:39Z by attilio

MFC libthread_db modifies until r181651:
- Introduce and use new functions pthread_{read, write}_*
- Move psaddr_t from void * to uintptr_t
- Fix some ABI mismatches
- Introduce WARN 6 for compilation
@
text
@d12 1
a12 1
WARNS?= 6
@


1.5.8.3
log
@SVN rev 207778 on 2010-05-08 13:41:01Z by imp

MFC r173703(cognet):

Add arm support in libthread_db
@
text
@a8 3
# libc_r not supported on arm
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \
    ${MACHINE_ARCH} != "poewrpc" && !defined(NO_LIBC_R)
a9 1
.endif
@


1.5.8.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/lib/libthread_db/Makefile 207778 2010-05-08 13:41:01Z imp $
@


1.5.8.1.10.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.4
log
@1.Use new way to check if a thread is in critical region, defer suspending
  if it is true.
2.Add thread_db api td_thr_tls_get_addr to get tls address, the real code
  is commented out util tls patch is committed.

Reviewed by: deischen
@
text
@d14 1
a14 19
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../libexec/rtld-elf
CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH}
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
CFLAGS+=-DTLS_DTV_AT_TCB
.else
CFLAGS+=-DTLS_DTV_AT_TP
.endif

SRCS+=	libpthread.h
CLEANFILES+= libpthread.h

LIBPTHREAD= ${.CURDIR}/../libpthread
LIBPTHREAD_ARCH= ${LIBPTHREAD}/arch/${MACHINE_ARCH}/include

libpthread.h:
	@@echo '#define LIBTHREAD_DB 1' > ${.TARGET}
	@@echo '#include "${LIBPTHREAD}/sys/lock.h"' >> ${.TARGET}
	@@echo '#include "${LIBPTHREAD_ARCH}/pthread_md.h"' >> ${.TARGET}
	@@echo '#include "${LIBPTHREAD}/thread/thr_private.h"' >> ${.TARGET}
@


1.3
log
@This library is not WARNS=2 clean for -O2 builds, because we include
headers from libpthread that are not WARNS=2 clean for -O2 builds.
Lower the WARNS level to 1. This is the highest level possible for
now.
@
text
@d14 7
a20 1
CFLAGS+=-I. -I${.CURDIR}
@


1.2
log
@Add rudimentary support and stubs for libthr and libc_r on alpha, amd64,
i386, ia64 and sparc64. Add stubs for alpha, amd64, ia64 and sparc64 for
libpthread.

Restructure the source files to avoid unnecessary use of subdirectories
that also force us to use non-portable compilation flags to deal with
the uncommon compilation requirements (building archive libraries for
linkage into a shared library).

The libpthread support has been copied from the original local and
cleaned-up to make them WARNS=2 clean.
that also force us to use non-portable compilation flags to deal with
the uncommon compilation requirements (building archive libraries for
linkage into a shared library).

The libpthread support has been copied from the original local and
cleaned-up to make them WARNS=2 clean.

Tested on: amd64, i386, ia64
@
text
@d12 1
a12 1
WARNS?= 2
@


1.1
log
@Add my initial work of libthread_db. The library is used by gdb to debug
threaded process. Current, only libpthread is supported, but macrel will
work on it to support libthr and libc_r.
@
text
@d3 1
a3 1
SUBDIR=pthread src
d5 24
a28 1
.include <bsd.subdir.mk>
@

