pkgsrc-wip/libstacktrace/DESCR
Aleksey Cheusov a5282cab76 Import libstacktrace-0.10alpha1 as wip/libstacktrace.
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.
2009-03-29 18:47:36 +00:00

8 lines
418 B
Text

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.