From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24434 invoked by alias); 20 Apr 2010 15:39:03 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 24424 invoked by uid 22791); 20 Apr 2010 15:39:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Subject: Size of DW_FORM_ref_addr in DWARF 3 and the archer-jankratochvil-fedora13 branch From: Joost van der Sluis To: archer@sourceware.org Content-Type: text/plain Date: Tue, 20 Apr 2010 15:39:00 -0000 Message-Id: <1271777933.28610.63.camel@wsjoost.cnoc.lan> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Language-Detected: en X-Spam-Scanned: InterNLnet Mail Scan System V2.03 X-SW-Source: 2010-q2/txt/msg00013.txt.bz2 Hi all, Since Dwarf 3 the length of a DW_FORM_ref_addr entry is not dependent on the pointer size of the target platform, but on the used Dwarf-format (32 bit or 64 bit) for the current compilation section. When I load a project with Dwarf-3 debug information with fsf-gdb head, it works. But not with the archer-jankratochvil-fedora13 branch. That version assumes that the length of a DW_FORM_ref_addr on 64 bit is always 64 bits, which is not the case. Is it planned to merge this fix from fsf-gdb to archer-jankratochvil-fedora13? How is this normally handled? Regards, Joost van der Sluis.