Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 12:25:18 GMT
From:      Yoshihiro Sugihara <jinnee@tt.rim.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/97398: New Ports : Gnu GDB 5.3 for Renesas H8/300
Message-ID:  <200605171225.k4HCPInj016654@www.freebsd.org>
Resent-Message-ID: <200605171230.k4HCUU6m087663@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97398
>Category:       ports
>Synopsis:       New Ports : Gnu GDB 5.3 for Renesas H8/300
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 17 12:30:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiro Sugihara
>Release:        6.1-Stable
>Organization:
Japan
>Environment:
FreeBSD selene.anysynq.net 6.1-STABLE FreeBSD 6.1-STABLE #13: Sat May 13 23:49:06 JST 2006     root@selene.anysynq.net:/usr/obj/usr/src/sys/CFA3  i386

>Description:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	h8300-hms-gdb5/
#	h8300-hms-gdb5/files
#	h8300-hms-gdb5/files/patch-aa
#	h8300-hms-gdb5/Makefile
#	h8300-hms-gdb5/distinfo
#	h8300-hms-gdb5/pkg-descr
#	h8300-hms-gdb5/pkg-plist
#
echo c - h8300-hms-gdb5/
mkdir -p h8300-hms-gdb5/ > /dev/null 2>&1
echo c - h8300-hms-gdb5/files
mkdir -p h8300-hms-gdb5/files > /dev/null 2>&1
echo x - h8300-hms-gdb5/files/patch-aa
sed 's/^X//' >h8300-hms-gdb5/files/patch-aa << 'END-of-h8300-hms-gdb5/files/patch-aa'
X*** gdb/h8300-tdep.c.orig	Wed Aug 21 07:02:48 2002
X--- gdb/h8300-tdep.c	Wed May 17 19:32:55 2006
X***************
X*** 36,42 ****
X  #include "value.h"
X  #include "regcache.h"
X  
X! extern int h8300hmode, h8300smode;
X  
X  #undef  NUM_REGS
X  #define NUM_REGS (h8300smode?12:11)
X--- 36,42 ----
X  #include "value.h"
X  #include "regcache.h"
X  
X! int h8300hmode, h8300smode;
X  
X  #undef  NUM_REGS
X  #define NUM_REGS (h8300smode?12:11)
END-of-h8300-hms-gdb5/files/patch-aa
echo x - h8300-hms-gdb5/Makefile
sed 's/^X//' >h8300-hms-gdb5/Makefile << 'END-of-h8300-hms-gdb5/Makefile'
X# Ports collection makefile for:	h8300-hms-gdb5
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gdb
XPORTVERSION=	5.3
XPORTREVISION=	1
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEWARE}
XMASTER_SITE_SUBDIR=	gdb/releases
XPKGNAMEPREFIX=	h8300-hms-
XDISTNAME=	gdb-${PORTVERSION}
X
XCOMMENT=	GNU GDB for the Renesas H8/300[H/S] target
X
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--target=h8300-hms --program-prefix=h8300 --disable-nls
X
Xpre-configure:
X	cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
X		${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME}
X
X.include <bsd.port.mk>
END-of-h8300-hms-gdb5/Makefile
echo x - h8300-hms-gdb5/distinfo
sed 's/^X//' >h8300-hms-gdb5/distinfo << 'END-of-h8300-hms-gdb5/distinfo'
XMD5 (gdb-5.3.tar.bz2) = 70e4ade69a2dff2c7b9af9a4ef44798f
XSHA256 (gdb-5.3.tar.bz2) = 6e559a98636a1a5d92fd8df31161ed9307eca2234ae2d783dd8c84f500cddb6c
XSIZE (gdb-5.3.tar.bz2) = 11198721
END-of-h8300-hms-gdb5/distinfo
echo x - h8300-hms-gdb5/pkg-descr
sed 's/^X//' >h8300-hms-gdb5/pkg-descr << 'END-of-h8300-hms-gdb5/pkg-descr'
XThis is the GNU Debugger GDB, configured for the Renesas H8/300[H/S]
Xmicrocontroller target.
X
XThis debugger is necessary to make program that connect this debugger
Xvia sirial line. Ditail of connection protcol is writen comment in the
X remoto.c file.  
X
XWWW: http://www.gnu.org/software/gdb/
END-of-h8300-hms-gdb5/pkg-descr
echo x - h8300-hms-gdb5/pkg-plist
sed 's/^X//' >h8300-hms-gdb5/pkg-plist << 'END-of-h8300-hms-gdb5/pkg-plist'
X@comment $FreeBSD: ports/devel/avr-gdb/pkg-plist,v 1.1 2002/09/10 08:52:41 joerg Exp $
Xbin/h8300-hms-gdb
END-of-h8300-hms-gdb5/pkg-plist
exit

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605171225.k4HCPInj016654>