From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25071 invoked by alias); 17 Jan 2005 16:31:13 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 24815 invoked from network); 17 Jan 2005 16:31:01 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 17 Jan 2005 16:31:01 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0HGV0WJ021689 for ; Mon, 17 Jan 2005 11:31:00 -0500 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0HGUoO03862; Mon, 17 Jan 2005 11:30:50 -0500 Received: from [172.31.0.98] (vpnuser4.surrey.redhat.com [172.16.9.4]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j0HGUmxg027270; Mon, 17 Jan 2005 16:30:49 GMT Message-ID: <41EBEA34.2040107@redhat.com> Date: Mon, 17 Jan 2005 16:31:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: "H. J. Lu" CC: binutils@sources.redhat.com Subject: Re: PATCH: Support more than 1 comp unit References: <20050112015043.GA30123@lucon.org> <20050112015845.GA17796@nevyn.them.org> <20050112041818.GA32039@lucon.org> <20050112172628.GA10871@lucon.org> <20050113183720.GA32092@lucon.org> In-Reply-To: <20050113183720.GA32092@lucon.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00175.txt.bz2 Hi H. J. > The fix can be much simpler. We just need to change info_ptr_unit > from per file to per comp unit. This patch does that. > 2005-01-13 H.J. Lu > > * dwarf2.c (dwarf2_debug): Move info_ptr_unit to ... > (comp_unit): Here. > (read_unsigned_leb128): Removed. > (read_signed_leb128): Removed. > (find_abstract_instance_name): Updated. > (parse_comp_unit): Accept info_ptr_unit. > (_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each > comp unit and pass it to parse_comp_unit. > > * elf-eh-frame.c (read_unsigned_leb128): Moved to ... > (read_signed_leb128): Moved to ... > * libbfd.c: Here. > > * libbfd-in.h (read_unsigned_leb128): New prototype. > (read_signed_leb128): Likewise. > * libbfd.h: Regenerated. Approved - please apply. Cheers Nick