From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16975 invoked by alias); 15 May 2013 15:11:02 -0000 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 Received: (qmail 16963 invoked by uid 89); 15 May 2013 15:11:02 -0000 X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 15 May 2013 15:11:02 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4FFAxZf028534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 May 2013 11:10:59 -0400 Received: from barimba (ovpn-113-133.phx2.redhat.com [10.3.113.133]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r4FFAvHT024392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 15 May 2013 11:10:58 -0400 From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: [RFA/dwarf 2/2] Mark all functions as prototyped except C functions. References: <87txm6dhhm.fsf@fleche.redhat.com> <1368623983-10625-1-git-send-email-brobecker@adacore.com> <1368623983-10625-3-git-send-email-brobecker@adacore.com> Date: Wed, 15 May 2013 15:11:00 -0000 In-Reply-To: <1368623983-10625-3-git-send-email-brobecker@adacore.com> (Joel Brobecker's message of "Wed, 15 May 2013 17:19:43 +0400") Message-ID: <87ip2k2s8u.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-05/txt/msg00534.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> + /* The DWARF standard implies that the DW_AT_prototyped attribute Joel> + is only meaninful to C. So assume that non-C functions are Joel> + always prototyped. */ Joel> + if (cu->language != language_c) Joel> + return 1; Can Objective C have un-prototyped functions? I don't know. But if it can, then it should be checked here. Tom