From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23936 invoked by alias); 14 Sep 2010 15:24:41 -0000 Received: (qmail 23925 invoked by uid 22791); 14 Sep 2010 15:24:39 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Sep 2010 15:24:35 +0000 Received: from md1.u-strasbg.fr (md1.u-strasbg.fr [IPv6:2001:660:2402::186]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o8EFOG6l035186 ; Tue, 14 Sep 2010 17:24:16 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by md1.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id o8EFOG6e032836 ; Tue, 14 Sep 2010 17:24:16 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id o8EFOFbi037949 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Tue, 14 Sep 2010 17:24:16 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Tristan Gingold'" Cc: References: <000701cb541e$1160cde0$342269a0$@muller@ics-cnrs.unistra.fr> <282E4D5B-2863-4CC2-99EE-76A36BDE8A9F@adacore.com> In-Reply-To: <282E4D5B-2863-4CC2-99EE-76A36BDE8A9F@adacore.com> Subject: RE: [RFC] Improve stabs debugging for mingw64 executables loaded at high addresses Date: Tue, 14 Sep 2010 17:50:00 -0000 Message-ID: <000a01cb5420$e7a44420$b6eccc60$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit x-cr-hashedpuzzle: kEk= A8xn BWIb Cyfm HSCG IYjD JUZx Kl5M K0+3 Mb2L NxSF O1wY Qv1Q Svgc TKPL U2Z5;2;ZwBkAGIALQBwAGEAdABjAGgAZQBzAEAAcwBvAHUAcgBjAGUAdwBhAHIAZQAuAG8AcgBnADsAZwBpAG4AZwBvAGwAZABAAGEAZABhAGMAbwByAGUALgBjAG8AbQA=;Sosha1_v1;7;{3CB4918E-A3AD-4D17-9B54-BB03B918528D};cABpAGUAcgByAGUALgBtAHUAbABsAGUAcgBAAGkAYwBzAC0AYwBuAHIAcwAuAHUAbgBpAHMAdAByAGEALgBmAHIA;Tue, 14 Sep 2010 15:24:15 GMT;UgBFADoAIABbAFIARgBDAF0AIABJAG0AcAByAG8AdgBlACAAcwB0AGEAYgBzACAAZABlAGIAdQBnAGcAaQBuAGcAIABmAG8AcgAgAG0AaQBuAGcAdwA2ADQAIABlAHgAZQBjAHUAdABhAGIAbABlAHMAIABsAG8AYQBkAGUAZAAgAGEAdAAgAGgAaQBnAGgAIABhAGQAZAByAGUAcwBzAGUAcwA= x-cr-puzzleid: {3CB4918E-A3AD-4D17-9B54-BB03B918528D} 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 X-SW-Source: 2010-09/txt/msg00268.txt.bz2 > > Comments welcome, > > I think that some 64 bits targets have 8 bytes for the address. Of course, dwarf debugging doesn't suffer from this limitation, and uses 8-byte for addresses. This is the default format for most 64-bit targets, and it is the preferred debugging format for 64-bit because of this 4-byte limitation of stabs... So this is really a marginal case that I presented here. The thing is that, for Free Pascal, we have lots of troubles with DWARF (and some 64-bit specific), thus I would like to be able to use STABS format (which is less troublesome) but that also didn't work because of this high address default base used by this compiler. Pierre