From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30522 invoked by alias); 13 Jan 2008 10:36:40 -0000 Received: (qmail 30508 invoked by uid 22791); 13 Jan 2008 10:36:40 -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; Sun, 13 Jan 2008 10:36:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 26ED32A9872; Sun, 13 Jan 2008 05:36:21 -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 TtPQGRf6EufD; Sun, 13 Jan 2008 05:36:21 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 5B1AD2A9696; Sun, 13 Jan 2008 05:36:20 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 00ED7E7ACB; Sun, 13 Jan 2008 02:36:12 -0800 (PST) Date: Sun, 13 Jan 2008 10:36:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org Subject: Re: [RFC/RFA?] Should break FILE:LINENO skip prologue? Message-ID: <20080113103612.GH9143@adacore.com> References: <200801112113.m0BLDnAF024595@brahms.sibelius.xs4all.nl> <200801121531.m0CFVW8I023504@brahms.sibelius.xs4all.nl> <200801121618.m0CGI27U012957@brahms.sibelius.xs4all.nl> <20080112175817.GA21954@caradoc.them.org> <20080113062450.GG9143@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/msg00319.txt.bz2 > > What I suggest is that we document *FUNCTION as a special case and yet > > very useful form of *EXPRESSION, and explain why it works. > > In what languages _does_ it work, besides C/C++? I can say for sure for some of the languages only. For sure, it will work with c, c++, asm, minimal, objective-c. I made some experiments by forcing the language to other values, and tried "break *main", and it also worked for the following languages: fortran, java, modula-2, and pascal. It did NOT work with scheme. We have users from at least Fortran, Pascal and Modula-2, we should as them to confirm. -- Joel