FreeBSD Bugzilla – Attachment 170147 Details for
Bug 209398
[new port] sysutils/bstack : utility to print the backtrace of a running process using GDB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch that create the new port
D-devel-bstack.diff (text/plain), 1.95 KB, created by
luca.pizzamiglio
on 2016-05-09 15:16:36 UTC
(
hide
)
Description:
The patch that create the new port
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2016-05-09 15:16:36 UTC
Size:
1.95 KB
patch
obsolete
>diff --git sysutils/Makefile sysutils/Makefile >index 0b18ca2..7bc5dc4 100644 >--- sysutils/Makefile >+++ sysutils/Makefile >@@ -103,6 +103,7 @@ > SUBDIR += bsdmoted > SUBDIR += bsdploy > SUBDIR += bsdstats >+ SUBDIR += bstack > SUBDIR += btsixad > SUBDIR += bulk_extractor > SUBDIR += burp >diff --git sysutils/bstack/Makefile sysutils/bstack/Makefile >new file mode 100644 >index 0000000..e8f0a78 >--- /dev/null >+++ sysutils/bstack/Makefile >@@ -0,0 +1,31 @@ >+# $FreeBSD$ >+ >+PORTNAME= bstack >+PORTVERSION= 0.1 >+CATEGORIES= sysutils >+ >+MAINTAINER= luca.pizzamiglio@gmail.com >+COMMENT= Debug tool that shows the stack trace of a running process >+ >+LICENSE= BSD3CLAUSE >+ >+RUN_DEPENDS= gdb:devel/gdb >+ >+USE_GITHUB= yes >+GH_ACCOUNT= pizzamig >+NO_BUILD= yes >+ >+PLIST_FILES= bin/bstack \ >+ %%DATADIR%%/gdb_bstack >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|;' ${WRKSRC}/bstack >+ >+do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/bstack \ >+ ${STAGEDIR}${PREFIX}/bin/bstack >+ ${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/gdb_bstack \ >+ ${STAGEDIR}${DATADIR}/gdb_bstack >+ >+.include <bsd.port.mk> >diff --git sysutils/bstack/distinfo sysutils/bstack/distinfo >new file mode 100644 >index 0000000..3dc63d2 >--- /dev/null >+++ sysutils/bstack/distinfo >@@ -0,0 +1,2 @@ >+SHA256 (pizzamig-bstack-0.1_GH0.tar.gz) = 358ab23ba0ce99260a3239797bdc5fc10cf14bce00ec7b3ff1ab2f1fbe8ffccd >+SIZE (pizzamig-bstack-0.1_GH0.tar.gz) = 1868 >diff --git sysutils/bstack/pkg-descr sysutils/bstack/pkg-descr >new file mode 100644 >index 0000000..54bee8a >--- /dev/null >+++ sysutils/bstack/pkg-descr >@@ -0,0 +1,12 @@ >+bstack - gstack for FreeBSD >+ >+This is a port of gstack, a script build around gdb on RedHat and other >+Linux distros, to FreeBSD. >+ >+bstack take a PID as only parameter and print out the back trace of that >+running process. If the process is multithread, the backtrace of all >+threads is printed. >+ >+It works with the last version of GDB >+ >+WWW: https://github.com/pizzamig/bstack
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
luca.pizzamiglio:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 209398
: 170147 |
171567