Date: Thu, 27 Jul 2017 19:52:03 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446775 - in head/devel: . mdb Message-ID: <201707271952.v6RJq3Xt051892@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer) Date: Thu Jul 27 19:52:03 2017 New Revision: 446775 URL: https://svnweb.freebsd.org/changeset/ports/446775 Log: Add a port for the Solaris Modular Debugger (mdb). Currently it only supports debugging of FreeBSD/amd64 kernels via kernel crashes (vmcores) or live systems via /dev/mem. It does not include a port of the in-kernel kmdb debugger. PR: 220891 Reviewed by: mat Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D11682 Added: head/devel/mdb/ head/devel/mdb/Makefile (contents, props changed) head/devel/mdb/distinfo (contents, props changed) head/devel/mdb/pkg-descr (contents, props changed) head/devel/mdb/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Jul 27 18:57:51 2017 (r446774) +++ head/devel/Makefile Thu Jul 27 19:52:03 2017 (r446775) @@ -1637,6 +1637,7 @@ SUBDIR += maven31 SUBDIR += maven33 SUBDIR += mcpp + SUBDIR += mdb SUBDIR += mdds SUBDIR += memleax SUBDIR += menhir Added: head/devel/mdb/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mdb/Makefile Thu Jul 27 19:52:03 2017 (r446775) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= mdb +PORTVERSION= 0.1 +CATEGORIES= devel + +MAINTAINER= jhb@FreeBSD.org +COMMENT= Solaris Modular Debugger + +LICENSE= CDDL + +USES= uidfix + +USE_GITHUB= yes +GH_ACCOUNT= bsdjhb +GH_PROJECT= illumos-gate +GH_TAGNAME= b8a73a7590 + +ONLY_FOR_ARCHS= amd64 + +MAKE_ARGS= WITH_CTF=yes +MAKE_ARGS+= BINDIR=${PREFIX}/bin +MAKE_ARGS+= LIBDIR=${PREFIX}/lib +WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb +CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g + +.include <bsd.port.pre.mk> + +.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat) +IGNORE= requires full source tree with CDDL sources +.endif + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH} + +.include <bsd.port.post.mk> Added: head/devel/mdb/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mdb/distinfo Thu Jul 27 19:52:03 2017 (r446775) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500586203 +SHA256 (bsdjhb-illumos-gate-0.1-b8a73a7590_GH0.tar.gz) = 6fe907ac8c107400ccf68ed4dc240b35361e14e18ddac571e554c261d46f758c +SIZE (bsdjhb-illumos-gate-0.1-b8a73a7590_GH0.tar.gz) = 115104723 Added: head/devel/mdb/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mdb/pkg-descr Thu Jul 27 19:52:03 2017 (r446775) @@ -0,0 +1,6 @@ +This is a port of the Solaris Modular Debugger to FreeBSD. Currently it +only supports debugging of FreeBSD/amd64 kernels via kernel crashes +(vmcores) or live systems via /dev/mem. It does not include a port of the +in-kernel kmdb debugger. + +WWW: https://docs.oracle.com/cd/E19683-01/806-6545/index.html Added: head/devel/mdb/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mdb/pkg-plist Thu Jul 27 19:52:03 2017 (r446775) @@ -0,0 +1,4 @@ +bin/mdb +lib/mdb/kvm/amd64/kernel.so +lib/mdb/kvm/amd64/kld.so +lib/mdb/kvm/amd64/mdb_ks.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707271952.v6RJq3Xt051892>