From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17150 invoked by alias); 22 Oct 2014 18:07:44 -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 17140 invoked by uid 89); 22 Oct 2014 18:07:43 -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: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Oct 2014 18:07:42 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NDU00000Y5GYX00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Wed, 22 Oct 2014 21:07:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDU000LVYCNYL10@a-mtaout22.012.net.il>; Wed, 22 Oct 2014 21:07:36 +0300 (IDT) Date: Wed, 22 Oct 2014 18:07:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Python API: Add gdb.is_in_prologue and gdb.is_in_epilogue. In-reply-to: <83fveg809v.fsf@gnu.org> To: martin.galvan@tallertechnologies.com Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83egu07zbu.fsf@gnu.org> References: <1413986485-4673-1-git-send-email-martin.galvan@tallertechnologies.com> <83tx2w87j0.fsf@gnu.org> <83fveg809v.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00586.txt.bz2 > Date: Wed, 22 Oct 2014 20:47:08 +0300 > From: Eli Zaretskii > Cc: gdb-patches@sourceware.org > > I think we are miscommunicating. What I had in mind is raise an > exception or display an error message when GDB has no other means to > determine where the function's start is (e.g., no debug info), and no > functionStart argument was passed. That is what I meant by > "require". IOW, it's up to the user to decide when to provide it, but > GDB will refuse to use some arbitrary number, such as zero, if it > cannot determine the starting address. Having said all that, please don't read this as a rejection of your code. Even if you agree with me, please wait for others to chime in and say what they think, before acting on my opinions. Thanks.