Subject: Re: GDB 6.4
To: None <Gilles.Dauphin@enst.fr, john@johnrshannon.com>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 01/27/2006 17:28:57
--Fall_of_Woodcocks_849_000
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: XbHDyRVhAZ0HzmgVbKn04Q==



> From: "John R. Shannon" <john@johnrshannon.com>
> 
> On Friday 27 January 2006 06:28, Gilles Dauphin wrote:
> > Hi,
> >
> > Is it possible to update gdb6 to release 6.4,?
> >
> > Other release won't work for debugging 64bits Solaris amd64 binaries
> >
> > Thanks
> > Gilles
> 
> Probably. I updated to 6.3, but did not commit the update, because the number 
> of regressions grew.
> 
>

Ok , I just do it for solaris10. 
I do (very) little test for debugging 32 and 64 bit program.
It seems to work...

binary package is available for AMD64 in 64bit mode @:
http://public.enst.fr/pkgsrc/packages/SunOS-5.10/amd64/pkgsrc-2005Q4n0/All/gdb-6
.4nb1.tgz

I just need the attached (and not very clean) Makefile and PLIST
no patch needed, no files needed.

Hope this help
Gilles

--Fall_of_Woodcocks_849_000
Content-Type: TEXT/x-sun-Makefile; name=Makefile; charset=us-ascii; x-unix-mode=0644
Content-Description: Makefile
Content-MD5: rtxflWivrL5HXBn9RKvQNg==

# $NetBSD: Makefile,v 1.13 2005/12/05 20:50:04 rillig Exp $
#

DISTNAME=		gdb-6.4
PKGREVISION=		1
CATEGORIES=		devel
MASTER_SITES=		ftp://sources.redhat.com/pub/gdb/releases/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		shannonjr@NetBSD.org
HOMEPAGE=		http://www.gnu.org/software/gdb/gdb.html
COMMENT=		The GNU Project Debugger

#NOT_FOR_PLATFORM=	Darwin-*-*
#
#BUILD_USES_MSGFMT=	yes

USE_TOOLS+=		autoconf213 gmake
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes

USE_GNU_CONFIGURE_HOST=no
CONFIGURE_ARGS+=	--host=i386-pc-solaris2.10
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/gdb6
CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/gdb6

#CONFIGURE_ARGS+=	--build=i386-pc-solaris2.10
#CONFIGURE_ARGS+=	--target=i386-pc-solaris2.10


#CONFIGURE_ARGS+= --host=i386-sun-solaris2.10

#CONFIGURE_ARGS+=	--enable-libada

USE_MAKEINFO=		yes
INFO_FILES=		annotate.info bfd.info configure.info
INFO_FILES+=		gdb.info gdbint.info mmalloc.info
INFO_FILES+=		stabs.info standards.info

PKGLOCALEDIR= share

MAKE_FLAGS+= LDFLAGS="-R${PREFIX}/lib -L${PREFIX}/lib -lintl" 
#
##MAKEFLAGS+= LDFLAGS="${BUILDLINK_LDFLAGS.gettext} ${BUILDLINK_LDADD.gettext}"

.include "../../mk/bsd.prefs.mk"

#pre-patch:
#	${CP} ${FILESDIR}/nbsd-nat.c ${WRKSRC}/gdb
#
#pre-configure:
#	cd ${WRKSRC}/gdb; autoheader; autoconf
#
#do-test:
#	if ${PKG_INFO} -qe dejagnu; then		\
#		(cd ${WRKSRC} && ${GMAKE} check);	\
#	else						\
#		${ECHO} "dejagnu is required for the test target";	\
#	fi

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

--Fall_of_Woodcocks_849_000
Content-Type: TEXT/plain; name=PLIST; charset=us-ascii; x-unix-mode=0644
Content-Description: PLIST
Content-MD5: 5ucW39V5PHiRrMzCGDio6w==

@comment $NetBSD: PLIST,v 1.4 2004/09/22 08:09:25 jlam Exp $
bin/gdb
bin/gdbtui
include/gdb6/ansidecl.h
include/gdb6/bfd.h
include/gdb6/bfdlink.h
include/gdb6/dis-asm.h
include/gdb6/symcat.h
lib/gdb6/libbfd.la
lib/gdb6/libiberty.a
lib/gdb6/libopcodes.la
man/man1/gdb.1
man/man1/gdbtui.1
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/bfd.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/opcodes.mo
${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/bfd.mo
@dirrm lib/gdb6
@dirrm include/gdb6

--Fall_of_Woodcocks_849_000--