Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2013 12:04:34 GMT
From:      HU Dong <itechbear@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176613: New port: devel/libgdbmgr, vim interface to gdb
Message-ID:  <201303031204.r23C4YXo069441@red.freebsd.org>
Resent-Message-ID: <201303031210.r23CA08E080174@freefall.freebsd.org>

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

>Number:         176613
>Category:       ports
>Synopsis:       New port: devel/libgdbmgr, vim interface to gdb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 03 12:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     HU Dong
>Release:        9.1 i386
>Organization:
None
>Environment:
FreeBSD HOSTNAME 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Official intro:
Gdbmgr supports a user-controllable multiple-tiled window interface to gdb, and does not need any external scripting support such as perl or python.  Try out the tutorial -- it contains seven examples with detailed instructions on how to compile the example code, run it, and use gdbmgr with it.

Note:
This is the shared library part. With this port installed, vim users needn't compile it nor add LD_LIBRARY_PATH env. 
I changed the filename from gdbmgr.so to libgdbmgr.so. I'm not quite sure whether it's OK. Please modify it freely if needed.

PS.
I submitted a same PR some hours ago. Due to a browser crash, I didn't know whether it was submitted successfully.
>How-To-Repeat:
None
>Fix:
None

Patch attached with submission follows:

# 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:
#
#	libgdbmgr
#	libgdbmgr/Makefile
#	libgdbmgr/distinfo
#	libgdbmgr/pkg-descr
#
echo c - libgdbmgr
mkdir -p libgdbmgr > /dev/null 2>&1
echo x - libgdbmgr/Makefile
sed 's/^X//' >libgdbmgr/Makefile << '754f83f517bce7367e4a7359a7097dbe'
X# Created by: HU Dong <itechbear@gmail.com>
X# $FreeBSD$
X
XPORTNAME=	libgdbmgr
XPORTVERSION=	2a
XCATEGORIES=	devel
XMASTER_SITES=	GH
XDISTNAME=	${PORTNAME}-v${PORTVERSION}
X
XMAINTAINER=	itechbear@gmail.com
XCOMMENT=	vim interface to gdb
X
XMAKE_JOBS_SAFE=	yes
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	public-ports
XGH_TAGNAME=	v2a
XGH_PROJECT=	${PORTNAME}
XGH_COMMIT=	bbe1487
XUSE_LDCONFIG=	yes
X
XWRKSRC=	${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-fbdde19
X
XPLIST_FILES+=	lib/libgdbmgr.so
X
Xdo-install:
X	${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so
X
X.include <bsd.port.mk>
754f83f517bce7367e4a7359a7097dbe
echo x - libgdbmgr/distinfo
sed 's/^X//' >libgdbmgr/distinfo << '2c282091df26886a847d75f609d263ae'
XSHA256 (libgdbmgr-v2a.tar.gz) = cbe277023edd93db87912c99a917c090a84005f0c5b6e68daa28b96dde02ed3a
XSIZE (libgdbmgr-v2a.tar.gz) = 9527
2c282091df26886a847d75f609d263ae
echo x - libgdbmgr/pkg-descr
sed 's/^X//' >libgdbmgr/pkg-descr << '4d9273955d27e573a7641da497fbec01'
XGdbmgr has two main components: a plugin portion, which provides an
Xinterface for the user, and the second component, written in C,
Xwhich provides communications between vim and gdb. Gdbmgr works with
Xcore dumps, utilizes hovering-cursor balloons to reveal variables'
Xvalues, and provides a runtime interface to your program via gdb and
Xvim. It doesn't touch vim's source code (no patches!) or need
Xexternal interpreters, unlike several other ways to get vim and gdb
Xto work together.
X
XWWW:    http://www.drchip.org/astronaut/vim/index.html#GDBMGR
4d9273955d27e573a7641da497fbec01
exit



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



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