From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4341 invoked by alias); 22 Oct 2014 18:37:27 -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 4269 invoked by uid 89); 22 Oct 2014 18:37:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Oct 2014 18:37:24 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NDU00C00ZGW5800@mtaout27.012.net.il> for gdb-patches@sourceware.org; Wed, 22 Oct 2014 21:32:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDU0053BZHTR460@mtaout27.012.net.il>; Wed, 22 Oct 2014 21:32:17 +0300 (IDT) Date: Wed, 22 Oct 2014 18:37:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Python API: Add gdb.is_in_prologue and gdb.is_in_epilogue. In-reply-to: To: Martin Galvan Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <838uk87xy8.fsf@gnu.org> References: <1413986485-4673-1-git-send-email-martin.galvan@tallertechnologies.com> <83tx2w87j0.fsf@gnu.org> <83fveg809v.fsf@gnu.org> <83egu07zbu.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00588.txt.bz2 > Date: Wed, 22 Oct 2014 15:32:38 -0300 > From: Martin Galvan > Cc: gdb-patches@sourceware.org > > "The optional @var{functionStart} argument is the start address of the > function @var{pc} belongs to. If your binary doesn't have debugging info, > @value{GDBN} will need to use this value to guess whether @var{pc} > belongs to the ^^^^^^^^ > prologue, otherwise it'll ignore it. Notice that in the latter case you can pass > any valid address as @var{functionStart}; the result will only depend > on @var{pc} > being in a prologue, even if it's not the prologue of the function starting at > @var{functionStart}." I'd say "to determine" instead of "to guess"/ Otherwise, fine with me, thanks. (But please remember to leave 2 spaces between sentences.)