From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6773 invoked by alias); 11 Jan 2008 21:07:36 -0000 Received: (qmail 6761 invoked by uid 22791); 11 Jan 2008 21:07:35 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 11 Jan 2008 21:07:16 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-42-152.inter.net.il [80.230.42.152]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EPV48073 (AUTH halo1); Fri, 11 Jan 2008 23:07:06 +0200 (IST) Date: Fri, 11 Jan 2008 21:07:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: schwab@suse.de, gdb-patches@sourceware.org In-reply-to: <20080111182136.GD12954@adacore.com> (message from Joel Brobecker on Fri, 11 Jan 2008 10:21:36 -0800) Subject: Re: [RFC/RFA?] Should break FILE:LINENO skip prologue? Reply-to: Eli Zaretskii 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> X-IsSubscribed: yes 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/msg00288.txt.bz2 > 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?