From patchwork Fri May 6 07:54:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rical Jasan X-Patchwork-Id: 619199 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r1PKB0SBpz9t41 for ; Fri, 6 May 2016 17:58:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=Sh53iO2v; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-type; q=dns; s=default; b=GdBg3 Pr3lT550WwoqpfxGqMJGwgC6ayXORdwiaD2ru6akMd+BJ182lEae6yNgoElkQ8B7 McqKbj3J7HWYkzFd3vy/JgA6RrLocoM3KvkIEFj351k0w5c/nD83hv2knaXP6OgU Oob8Syh1Uzkfu0UlRyYFfyUu1aHB+2jXIezYSs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-type; s=default; bh=gFOlx7eYcLq DI8cv2rJbN7O+Yog=; b=Sh53iO2vNRq1bU8fXLD6rQBoJxOfqzjDu8W4VA095BO ivu5tnoIEPkQ+hAu1T+d+MoubdW9mICbkFVvuNDUrFuMq315g2g/k4JMA+ZnL0fg 3hlw8DMoJwvmM7SfsM5Ez31GBdgMYiXorxKxQd8WDpJ3XfYRwHsRp39aN330NLd8 = Received: (qmail 18954 invoked by alias); 6 May 2016 07:56:51 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 18682 invoked by uid 89); 6 May 2016 07:56:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail.pacific.net From: ricaljasan@pacific.net To: libc-alpha@sourceware.org Subject: [PATCH 31/37] Manual typos: Debugging support Date: Fri, 6 May 2016 00:54:59 -0700 Message-Id: <1462521305-19409-32-git-send-email-ricaljasan@pacific.net> In-Reply-To: <1462521305-19409-1-git-send-email-ricaljasan@pacific.net> References: <1462521305-19409-1-git-send-email-ricaljasan@pacific.net> MIME-Version: 1.0 X-Null-Tag: 397011b5540389f249c616d62954c1c2 2016-05-06 Rical Jasan * manual/debug.texi: Fix typos in the manual. --- manual/debug.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/debug.texi b/manual/debug.texi index 25492c3..ac5121b 100644 --- a/manual/debug.texi +++ b/manual/debug.texi @@ -90,12 +90,12 @@ contains a printable representation of the corresponding element of determined), an offset into the function, and the actual return address (in hexadecimal). -Currently, the function name and offset only be obtained on systems that +Currently, the function name and offset can only be obtained on systems that use the ELF binary format for programs and libraries. On other systems, only the hexadecimal return address will be present. Also, you may need to pass additional flags to the linker to make the function names available to the program. (For example, on systems using GNU ld, you -must pass (@code{-rdynamic}.) +must pass @code{-rdynamic}.) The return value of @code{backtrace_symbols} is a pointer obtained via the @code{malloc} function, and it is the responsibility of the caller