From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30776 invoked by alias); 26 Sep 2007 12:57:17 -0000 Received: (qmail 30767 invoked by uid 22791); 26 Sep 2007 12:57:17 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Sep 2007 12:57:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9CDAC9832A; Wed, 26 Sep 2007 12:57:12 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 3B863982AD; Wed, 26 Sep 2007 12:57:11 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IaWRy-0006SL-86; Wed, 26 Sep 2007 08:57:10 -0400 Date: Wed, 26 Sep 2007 12:57:00 -0000 From: Daniel Jacobowitz To: Pierre Muller Cc: gdb-patches@sourceware.org Subject: Re: [RFA] set PROTOTYPED flag for pascal functions in dwarf2read.c Message-ID: <20070926125710.GA24802@caradoc.them.org> Mail-Followup-To: Pierre Muller , gdb-patches@sourceware.org References: <003601c8003b$b9a3cf50$2ceb6df0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003601c8003b$b9a3cf50$2ceb6df0$@u-strasbg.fr> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00362.txt.bz2 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