From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19524 invoked by alias); 31 Aug 2011 21:20:05 -0000 Received: (qmail 19447 invoked by uid 22791); 31 Aug 2011 21:20:04 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,TVD_SUBJ_NUM_OBFU_MINFP X-Spam-Check-By: sourceware.org Received: from exprod6og102.obsmtp.com (HELO exprod6og102.obsmtp.com) (64.18.1.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Aug 2011 21:19:48 +0000 Received: from cfexcas01.americas.cray.com ([136.162.34.10]) (using TLSv1) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP ID DSNKTl6lc/2lSXtKTyuq1fwRSoMQKgzmWOUd@postini.com; Wed, 31 Aug 2011 14:19:48 PDT Received: from lnx-andrewg.us.cray.com (172.31.17.22) by cfexcas01.americas.cray.com (172.30.74.226) with Microsoft SMTP Server (TLS) id 8.3.192.1; Wed, 31 Aug 2011 16:12:52 -0500 Message-ID: <4E5EA3D4.5070904@cray.com> Date: Wed, 31 Aug 2011 21:20:00 -0000 From: Andrew Gontarek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-2.3 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Question about DW_AT_variable_parameter in dwarf2read.c Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00138.txt.bz2 I am running into an issue with the latest cvs trunk of gdb and the way it interprets the DW_AT_variable_parameter attribute inside of a DW_TAG_formal_parameter. Currently, dwarf2read will check for the presence of DW_AT_variable_parameter, and if set to 1, it marks the symbol as a reference type. This seems wrong to me. The dwarf standard does not say that the presence of DW_AT_variable_parameter means that the type must be a reference type. Is the way gdb is interpreting the presence of this attribute a bug? -Andrew -- Andrew Gontarek PE debugger development at CRAY