From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20625 invoked by alias); 12 Jan 2008 12:18:34 -0000 Received: (qmail 20616 invoked by uid 22791); 12 Jan 2008 12:18:32 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 Jan 2008 12:18:13 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-248-94.inter.net.il [83.130.248.94]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JWR29511 (AUTH halo1); Sat, 12 Jan 2008 14:17:36 +0200 (IST) Date: Sat, 12 Jan 2008 12:18:00 -0000 Message-Id: From: Eli Zaretskii To: Mark Kettenis CC: brobecker@adacore.com, gdb-patches@sourceware.org In-reply-to: <200801112113.m0BLDnAF024595@brahms.sibelius.xs4all.nl> (message from Mark Kettenis on Fri, 11 Jan 2008 22:13:49 +0100 (CET)) 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> <200801112113.m0BLDnAF024595@brahms.sibelius.xs4all.nl> 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/msg00303.txt.bz2 > Date: Fri, 11 Jan 2008 22:13:49 +0100 (CET) > From: Mark Kettenis > CC: brobecker@adacore.com, schwab@suse.de, gdb-patches@sourceware.org > > > 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 In that case, I think we will need an appropriate change for the manual as well, as right now, "break *my_procedure" and "break 2" are equivalent (at least AFAIK). The manual says: `break FUNCTION' Set a breakpoint at entry to function FUNCTION. When using source languages that permit overloading of symbols, such as C++, FUNCTION may refer to more than one possible place to break. *Note Breakpoint Menus: Breakpoint Menus, for a discussion of that situation. This doesn't say anything about function prologs. `break *ADDRESS' Set a breakpoint at address ADDRESS. You can use this to set breakpoints in parts of your program which do not have debugging information or source files. This doesn't say anything about the possible distinction between *my_procedure as the address and 2 as its source line number. Am I missing something?