From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8736 invoked by alias); 11 Jan 2008 21:14:41 -0000 Received: (qmail 8726 invoked by uid 22791); 11 Jan 2008 21:14:41 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 11 Jan 2008 21:14:22 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.1/8.14.0) with ESMTP id m0BLDofA012694; Fri, 11 Jan 2008 22:13:50 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id m0BLDnAF024595; Fri, 11 Jan 2008 22:13:49 +0100 (CET) Date: Fri, 11 Jan 2008 21:14:00 -0000 Message-Id: <200801112113.m0BLDnAF024595@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: brobecker@adacore.com, schwab@suse.de, gdb-patches@sourceware.org In-reply-to: (message from Eli Zaretskii on Fri, 11 Jan 2008 23:07:13 +0200) Subject: Re: [RFC/RFA?] Should break FILE:LINENO skip prologue? References: <20080109151745.GA13181@adacore.com> <200801092140.43362.ebotcazou@adacore.com> <200801101058.m0AAw7HA023877@brahms.sibelius.xs4all.nl> <200801101247.28736.ebotcazou@adacore.com> <1200001622.14654.29.camel@localhost.localdomain> <200801102208.m0AM8aDR023344@brahms.sibelius.xs4all.nl> <20080111053547.GB12954@adacore.com> <200801111126.m0BBQQDB006618@brahms.sibelius.xs4all.nl> <20080111182136.GD12954@adacore.com> 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/msg00290.txt.bz2 > Date: Fri, 11 Jan 2008 23:07:13 +0200 > From: Eli Zaretskii > > > Date: Fri, 11 Jan 2008 10:21:36 -0800 > > From: Joel Brobecker > > Cc: gdb-patches@sourceware.org > > > > Andreas, Eli, have your concerns been answered too? Just to recap, > > the proposal is the following. Considering the following code: > > > > 1. int > > 2. my_procedure (...) > > 3. { > > 4. int local1 = ...; > > 5. int local2 = ...; > > 6. ... > > > > The idea is that inserting a breakpoint on line 2 or 3 would be > > equivalent to breaking on "my_procedure", which means that the > > actual location will be line 4 (before the locals assignment > > take place). > > Actually, I didn't have concern regarding your original patch, but now > that Mark raised the issue, I'm not sure what about his concerns. > Suppose I do want to step through the function prolog -- how would I > accomplish that after your changes? Like you always did: break *my_procedure