From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28420 invoked by alias); 25 Mar 2011 15:16:49 -0000 Received: (qmail 28404 invoked by uid 22791); 25 Mar 2011 15:16:47 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Mar 2011 15:16:43 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2PFGcJx021232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Mar 2011 11:16:38 -0400 Received: from [10.36.10.101] (vpn2-10-101.ams2.redhat.com [10.36.10.101]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2PFGaEA004957; Fri, 25 Mar 2011 11:16:37 -0400 Message-ID: <4D8CB1F5.6020108@redhat.com> Date: Fri, 25 Mar 2011 15:16:00 -0000 From: Nick Clifton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: Pierre Muller CC: "'Kai Tietz'" , "'H.J. Lu'" , "'Binutils'" Subject: Re: [RFC-v2] Use only dwarf_vma types in dwarf code References: <-8460070221060995487@unknownmsgid> <-6930711422310680743@unknownmsgid> <4D63D49D.90101@redhat.com> <-2339605939192327273@unknownmsgid> <-3886800211494155692@unknownmsgid> <1561346207520594884@unknownmsgid> <5095785081977025060@unknownmsgid> <00d601cbd4f0$c911af10$5b350d30$@muller@ics-cnrs.unistra.fr> In-Reply-To: <00d601cbd4f0$c911af10$5b350d30$@muller@ics-cnrs.unistra.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00441.txt.bz2 Hi Pierre, [only a month late...] > 2011-02-25 Pierre Muller > > Replace bfd_vma type and analog types by dwarf_vma and analogs. > Use dwarf specific print functions to display these type values. > * dwarf.h (dwarf_signed_vma): New type; > (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma. > (DWARF2_External_PubNames): Likewise. > (DWARF2_External_CompUnit): Likewise. > (DWARF2_External_ARange): Likewise. > (read_leb128): Change return type to dwarf_vma. > * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and > check byte_size values. > (dwarf_vmatoa): Change parameter type to dwarf_vma. > (dwarf_svmatoa): New static function. > (read_leb128): Change return type to dwarf_vma. > (read_sleb128): New static function. > (struct State_Machine_Registers): Change address field type to > dwarf_vma. > (process_extended_line_op): Adapt to type changes. > (fetch_indirect_string): Likewise. > (idisplay_block): Likewise. > (decode_location_expression): Likewise. > (read_and_display_attr_value): Likewise. > (process_debug_info): Likewise. > (display_debug_lines_raw): Likewise. > (display_debug_lines_decoded): Likewise. > (SLEB macro): Use new read_sleb128 function. Approved and applied - along with a little tidying up. Cheers Nick