64befa833a
New tool lmdbg-head(1) was implemented, see the man page for details. README: recomendations for procfs lmdbg-sym: - Much simplier (and correct) method for address convertion was implemented. As a result lmdbg-sym works correctly on AltLinux where ASLR and PIE are enabled by default. - Breakpoint are removed very soon after creation. This saves a lot of memory consumed by gdb(1) and dramatically speeds up it. lmdbg-run: - Arguments are passed correctly to progname - On glibc-based systems (e.g. Linux) malloc hooks are not used anymore as they are declared deprecated - Addresses from lmdbg.c are not included to stacktrace - Additional checks for address (returned by stacktrace(3)) correctness. As a result gdb(1) doesn't crash and therefore lmdbg-sym(1) work correctly. - stacktrace(3) doesn't not crash anymore on NetBSD/x64_64 with system utilities. See implementation details in stacktrace.c. - New option -N - Option -v works correctly with non-zero exit status of progname. - Exits with error if progname is not specified. lmdbg-stat: - Fix for NULL dereference appeared if free(3) or realloc(3) stacktrace is seen without appropriate malloc(3) stacktrace. AWK interpreter is found at configure time via MKC_REQUIRE_PROGS. Build and regression tests were fixed for non-empty MAKEOBJDIR case. ChangeLog file is never installed. lmdbg-s2m and lmsbg-m2s was moved to libexec dir. mk-configure >= 0.24.0 is required for build. Fixes, improvements and additions in regression tests.
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2013/08/07 21:07:25 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= lmdbg-1.2.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lmdbg/} \
|
|
http://mova.org/~cheusov/pub/lmdbg/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/lmdbg/
|
|
COMMENT= Lightweight Modular malloc Debugger
|
|
LICENSE= mit
|
|
|
|
BUILD_DEPENDS+= mk-configure>=0.24.0:../../devel/mk-configure
|
|
DEPENDS+= pipestatus-[0-9]*:../../devel/pipestatus
|
|
DEPENDS+= runawk>=1.3.1:../../lang/runawk
|
|
#DEPENDS+= gdb-[0-9]*:../../devel/gdb
|
|
|
|
ONLY_FOR_COMPILER= gcc icc clang
|
|
NOT_FOR_PLATFORM= Darwin-*-*
|
|
|
|
TEST_TARGET= test
|
|
|
|
REPLACE_SH= scripts/lmdbg*.in tests/test.sh
|
|
|
|
REPLACE_INTERPRETER+= runawk
|
|
REPLACE.runawk.old= .*runawk
|
|
REPLACE.runawk.new= ${PREFIX}/bin/runawk
|
|
REPLACE_FILES.runawk= scripts/lmdbg-*.in
|
|
|
|
MAKE_ENV+= AWK=${AWK:Q}
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && \
|
|
${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install-doc
|
|
|
|
.include "../../devel/mk-configure/mk-c.mk"
|
|
.include "../../devel/libjudy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|