From owner-svn-src-head@FreeBSD.ORG Fri Aug 23 13:47:18 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9D91CA20; Fri, 23 Aug 2013 13:47:18 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD0E283F; Fri, 23 Aug 2013 13:47:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7NDlIU5066185; Fri, 23 Aug 2013 13:47:18 GMT (envelope-from emaste@svn.freebsd.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7NDlIon066184; Fri, 23 Aug 2013 13:47:18 GMT (envelope-from emaste@svn.freebsd.org) Message-Id: <201308231347.r7NDlIon066184@svn.freebsd.org> From: Ed Maste Date: Fri, 23 Aug 2013 13:47:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254698 - head/contrib/libexecinfo X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 13:47:18 -0000 Author: emaste Date: Fri Aug 23 13:47:18 2013 New Revision: 254698 URL: http://svnweb.freebsd.org/changeset/base/254698 Log: Update libexecinfo man page for FreeBSD Sponsored by: DARPA, AFRL Modified: head/contrib/libexecinfo/backtrace.3 Modified: head/contrib/libexecinfo/backtrace.3 ============================================================================== --- head/contrib/libexecinfo/backtrace.3 Fri Aug 23 13:30:07 2013 (r254697) +++ head/contrib/libexecinfo/backtrace.3 Fri Aug 23 13:47:18 2013 (r254698) @@ -1,4 +1,5 @@ .\" $NetBSD: backtrace.3,v 1.4 2012/06/10 00:24:36 christos Exp $ +.\" $FreeBSD$ .\" .\" Copyright (c) 2012 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 26, 2012 +.Dd August 23, 2013 .Dt BACKTRACE 3 .Os .Sh NAME @@ -116,7 +117,7 @@ on failure. .Sh RETURN VALUES The .Fn backtrace -function returns the number of elements tht were filled in the backtrace. +function returns the number of elements that were filled in the backtrace. The .Fn backtrace_symbols and @@ -133,7 +134,9 @@ Diagnostic output may also be produced b The .Fn backtrace library of functions first appeared in -.Nx 7.0 . +.Nx 7.0 +and +.Fx 10.0 . .Sh BUGS .Bl -enum .It @@ -150,10 +153,9 @@ instead of .Ft size_t arguments. .It -Since -.Xr dladdr 3 -only deals with dynamic symbols, we need to find the symbols from the main -portion of the program. -For that we need to locate the executable, and we use procfs for -finding it, which is not portable. +The +.Fn backtrace_symbols +functions currently rely on +.Xr procfs 5 +to locate the executable. .El