head	1.7;
access;
symbols
	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.3.2.2
	RELENG_3_0_0_RELEASE:1.6
	RELENG_2_2_7_RELEASE:1.3.2.2
	RELENG_2_2_6_RELEASE:1.3.2.2
	RELENG_2_2_5_RELEASE:1.3.2.2
	RELENG_2_2_2_RELEASE:1.3.2.2
	RELENG_2_2_1_RELEASE:1.3.2.2
	RELENG_2_2_0_RELEASE:1.3.2.2
	RELENG_2_1_7_RELEASE:1.2.4.3
	RELENG_2_1_6_1_RELEASE:1.2.4.3
	RELENG_2_1_6_RELEASE:1.2.4.3
	RELENG_2_2:1.3.0.2
	RELENG_2_2_BP:1.3
	RELENG_2_1_5_RELEASE:1.2.4.2
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.4
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.2
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.1
	BETA_2_0:1.1
	ALPHA_2_0:1.1.0.2
	MOVED_NEWCVS:1.1
	FINAL_1_1_5:1.1
	ALPHA_1_1_5:1.1;
locks; strict;
comment	@# @;


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

1.6
date	97.02.15.16.24.41;	author bde;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.02.15.16.14.52;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	97.01.15.22.42.48;	author gj;	state Exp;
branches;
next	1.3;

1.3
date	96.05.27.11.02.39;	author peter;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	94.12.30.23.27.19;	author jkh;	state Exp;
branches
	1.2.4.1;
next	1.1;

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

1.2.4.1
date	96.05.29.22.33.59;	author jkh;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	96.06.05.02.39.58;	author jkh;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	96.11.03.05.23.42;	author jkh;	state Exp;
branches;
next	;

1.3.2.1
date	97.02.02.20.49.58;	author joerg;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	97.02.15.16.55.51;	author bde;	state Exp;
branches;
next	;

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


desc
@@


1.7
log
@Remove old bmake framework for gdb. It has moved to live next to binutils.
@
text
@LIB= iberty
INTERNALLIB= true
INTERNALSTATICLIB= true

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

SRCS= argv.c basename.c concat.c cplus-dem.c fdmatch.c getopt.c \
      getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \
      strsignal.c xatexit.c xexit.c \
      xmalloc.c xstrdup.c xstrerror.c insque.c

CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../gdb/.

.include <bsd.lib.mk>
@


1.6
log
@Oops, the last commit shouldn't have removed floatformat.c.
@
text
@@


1.6.2.1
log
@MFC: Import gdb-4.18

Approved by: core
@
text
@@


1.5
log
@Don't use the private version of vasprintf().  It doesn't understand
"%%" in format strings and tends to dump core for "%%st".  I needed
"%%st" to fix the new gdb ...

Don't use the private version of strerror() either.

Use INTERNALLIB and INTERNALSTATICLIB instead of a private install
rules NOPROFILE and NOPIC.  This is only slightly cleaner.
INTERNALLIB was previously only used in compatibility libraries
(libgnumalloc etc.) and INTERNALSTATICLIB was previously unused.
INTERNAL*LIB probably should be replaced by something like NOSTATICO
together with NO{STATICO,PROFILE,PIC}INSTALL.
@
text
@d9 1
a9 1
      getopt1.c getruntime.c hex.c obstack.c spaces.c \
@


1.4
log
@Changes required in directory libiberty to make gdb from the sources in
/usr/src/contrib/gdb.

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

2.2 candidate ?
@
text
@d2 2
d9 2
a10 2
      getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \
      strerror.c strsignal.c vasprintf.c xatexit.c xexit.c \
a13 5
NOPROFILE=no
NOPIC=no

install:
	@@echo -n
@


1.3
log
@Remove this version, it now comes from libc.
@
text
@d2 4
d7 3
a9 2
      getopt1.c ieee-float.c obstack.c spaces.c strerror.c strsignal.c \
      xmalloc.c
d11 1
a11 1
CFLAGS+= -I$(.CURDIR)/../gdb/.
@


1.3.2.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
@a1 4

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

d3 2
a4 3
      getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \
      strerror.c strsignal.c vasprintf.c xatexit.c xexit.c \
      xmalloc.c xstrdup.c xstrerror.c insque.c
d6 1
a6 1
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../gdb/.
@


1.3.2.2
log
@YAMFC (don't use private versions of vasprintf(), strerror() or
install rule).
@
text
@a1 2
INTERNALLIB= true
INTERNALSTATICLIB= true
d8 1
a8 1
      strsignal.c xatexit.c xexit.c \
d12 5
@


1.2
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
@d4 1
a4 1
      vasprintf.c xmalloc.c
@


1.2.4.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@d4 1
a4 1
      xmalloc.c
@


1.2.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d4 1
a4 1
      vasprintf.c xmalloc.c
@


1.2.4.3
log
@Moved to libc, as with -current.
@
text
@d4 1
a4 1
      xmalloc.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
@d4 1
a4 1
      xmalloc.c
@
