From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43522 invoked by alias); 15 Mar 2016 11:23:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 37892 invoked by uid 89); 15 Mar 2016 11:23:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*o:Research X-HELO: e06smtp06.uk.ibm.com Received: from e06smtp06.uk.ibm.com (HELO e06smtp06.uk.ibm.com) (195.75.94.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 15 Mar 2016 11:23:50 +0000 Received: from localhost by e06smtp06.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 15 Mar 2016 11:23:46 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp06.uk.ibm.com (192.168.101.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 15 Mar 2016 11:23:45 -0000 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: arnez@linux.vnet.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0C16017D8042 for ; Tue, 15 Mar 2016 11:24:15 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2FBNhnj65142882 for ; Tue, 15 Mar 2016 11:23:44 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2FBNhuU014187 for ; Tue, 15 Mar 2016 05:23:43 -0600 Received: from oc1027705133.ibm.com (dyn-9-152-212-180.boeblingen.de.ibm.com [9.152.212.180]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2FBNgaN014157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Mar 2016 05:23:43 -0600 From: Andreas Arnez To: Pedro Alves Cc: Eli Zaretskii , koriakin@0x04.net, gdb-patches@sourceware.org Subject: Re: [PATCH 4/8] gdb/s390: Fill gen_return_address hook. References: <1453637529-26972-5-git-send-email-koriakin@0x04.net> <1454853751-18455-1-git-send-email-koriakin@0x04.net> <56E2AD82.3060101@0x04.net> <56E2B95F.7050701@0x04.net> <56E2E7C8.7050901@redhat.com> <56E2FA1B.7050808@redhat.com> <83shzwj2wt.fsf@gnu.org> <56E31062.7020707@redhat.com> <83h9gcizcb.fsf@gnu.org> <56E7EDCC.8040400@redhat.com> Date: Tue, 15 Mar 2016 11:23:00 -0000 In-Reply-To: <56E7EDCC.8040400@redhat.com> (Pedro Alves's message of "Tue, 15 Mar 2016 11:11:08 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16031511-0025-0000-0000-00000666A519 X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00228.txt.bz2 On Tue, Mar 15 2016, Pedro Alves wrote: > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index bf7df35..5f88335 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -12878,6 +12878,13 @@ Collect all local variables. > Collect the return address. This is helpful if you want to see more > of a backtrace. > > +@emph{Note:} The return address location can not always be reliability ^^^^^^^^^^^ Should be "reliably" ;-) > +determined up front, and the wrong address / registers may end up > +collected instead. On some architectures the reliability is higher > +for tracepoints at function entry, while on others it's the opposite. > +When this happens, backtracing will stop because the return address is > +found unavailable (unless another collect rule happened to match it). > + > @item $_probe_argc > Collects the number of arguments from the static probe at which the > tracepoint is located. -- Andreas