From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18292 invoked by alias); 12 Jan 2008 16:18:26 -0000 Received: (qmail 18281 invoked by uid 22791); 12 Jan 2008 16:18:26 -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; Sat, 12 Jan 2008 16:18:08 +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 m0CGI3gp025366; Sat, 12 Jan 2008 17:18:03 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id m0CGI27U012957; Sat, 12 Jan 2008 17:18:03 +0100 (CET) Date: Sat, 12 Jan 2008 16:18:00 -0000 Message-Id: <200801121618.m0CGI27U012957@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: gdb-patches@sourceware.org In-reply-to: (message from Eli Zaretskii on Sat, 12 Jan 2008 17:55: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> <200801112113.m0BLDnAF024595@brahms.sibelius.xs4all.nl> <200801121531.m0CFVW8I023504@brahms.sibelius.xs4all.nl> 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/msg00310.txt.bz2 > Date: Sat, 12 Jan 2008 17:55:13 +0200 > From: Eli Zaretskii > > > Date: Sat, 12 Jan 2008 16:31:32 +0100 (CET) > > From: Mark Kettenis > > CC: gdb-patches@sourceware.org > > > > *FUNCTION and *FILENAME:FUNCTION are just special cases of *EXPRESSION > > "*FUNCTION" is generally not a useful C expression, unless FUNCTION > returns a pointer. So I don't want to rely on the user to guess this > magic in GDB. Actually *FUNCTION is a perfectly valid C expression, unlike for example the case where EXPRESSION isn't a pointer like in *0x12345678. I have no objection to explicitly listing *FUNCTION as a specific example of *EXPRESSION, but putting it in a whole different class is misleading IMHO.