From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30571 invoked by alias); 26 Sep 2007 14:04:50 -0000 Received: (qmail 30563 invoked by uid 22791); 26 Sep 2007 14:04:50 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Sep 2007 14:04:42 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id E4E01187022; Wed, 26 Sep 2007 16:09:34 +0200 (CEST) From: "Pierre Muller" To: "'Daniel Jacobowitz'" Cc: References: <003601c8003b$b9a3cf50$2ceb6df0$@u-strasbg.fr> <20070926125710.GA24802@caradoc.them.org> In-Reply-To: <20070926125710.GA24802@caradoc.them.org> Subject: RE: [RFA] set PROTOTYPED flag for pascal functions in dwarf2read.c Date: Wed, 26 Sep 2007 14:04:00 -0000 Message-ID: <003701c80046$2c1762e0$844628a0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us 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: 2007-09/txt/msg00366.txt.bz2 Thanks Committed. Pierre Muller > -----Original Message----- > From: Daniel Jacobowitz [mailto:drow@false.org] > Sent: Wednesday, September 26, 2007 2:57 PM > To: Pierre Muller > Cc: gdb-patches@sourceware.org > Subject: Re: [RFA] set PROTOTYPED flag for pascal functions in > dwarf2read.c > > On Wed, Sep 26, 2007 at 02:49:49PM +0200, Pierre Muller wrote: > > According to Jonas Maebe, all pascal functions are > > prototyped (as are C++ and Java functions). > > I did not find any code that really uses the fact > > that a function is prototyped, but I am willing to > > commit this after approval by dwarf2 maintainers > > so that I can close one more bug report... > > This affects the way parameters are passed. In C, the usual > consequence is that float is promoted to double when calling an > unprototyped function, but preserved as float when calling > a prototyped function. > > > 2007-09-26 Pierre Muller > > > > * Fix PR pascal/2231 > > dwarf2read.c (read_subroutine_type): > > All pascal functions are prototyped. > > OK. > > -- > Daniel Jacobowitz > CodeSourcery