From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5592 invoked by alias); 9 Jan 2008 20:35:27 -0000 Received: (qmail 5584 invoked by uid 22791); 9 Jan 2008 20:35:26 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Jan 2008 20:35:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7AEDE2A96C9; Wed, 9 Jan 2008 15:35:01 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ch7mAoqGBeEH; Wed, 9 Jan 2008 15:35:01 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id ACEC32A96C4; Wed, 9 Jan 2008 15:35:00 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 4D9F8E7ACB; Wed, 9 Jan 2008 12:34:53 -0800 (PST) Date: Wed, 09 Jan 2008 20:35:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: gdb-patches@sourceware.org Subject: Re: [RFC/RFA?] Should break FILE:LINENO skip prologue? Message-ID: <20080109203453.GI21281@adacore.com> References: <20080109151745.GA13181@adacore.com> <1199910284.14654.13.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1199910284.14654.13.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.2i 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 X-SW-Source: 2008-01/txt/msg00218.txt.bz2 First of all, thanks for your feedback. > If gdb decided not to LET me stop in the middle of the > prologue, I would be exceedingly pissed off. Everyone that I have polled so far told me that they used the "break *function_name" syntax to break at the beginning of the prologue. So GDB would not preventing you from doing it. I know that I will never be able to make everyone happy. I am just trying to make GDB more consistent and more useful to most average users, hopefully without hurting the low-level hackers too much. I'm hoping that the fact that breaking at the beginning of the prologue is sufficiently uncommon that the change will be bearable for those who relied on this behavior. But that being said, I also proposed if the pain level was perceived to be too high to introduce a switch that allows the user to select which behavior he wants... -- Joel