BSD Ports

wip/libstacktrace 1.3.0 NetBSD

Stacktracing library similar to glibc backtrace(3)

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, devel

Description

The usual way to inspect a stacktrace of a program is to use an external debugger such as gdb and its command 'bt'. However, sometimes it is useful to obtain a stacktrace from within a program, e.g., for the purposes of logging, debugging or diagnostics.

libstacktrace library provides stacktrace(3) function that have the same API/usage as glibc's backtrace(3) but works at least under NetBSD, FreeBSD and Solaris.

In the other systems

SystemPortVersion
NetBSDwip/libstacktrace1.3.0
FreeBSDdevel/lmdbg1.3.0_1
DragonFlydevel/lmdbg1.3.0_1
GhostBSDdevel/lmdbg1.3.0_1

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/libstacktrace && make install clean

Dependencies

Build dependencies 1

No port depends on this one.