From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4137 invoked by alias); 19 Jun 2007 23:58:44 -0000 Received: (qmail 4129 invoked by uid 22791); 19 Jun 2007 23:58:44 -0000 X-Spam-Check-By: sourceware.org Received: from elrond.portugalmail.pt (HELO elrond.portugalmail.pt) (195.245.179.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Jun 2007 23:58:41 +0000 Received: from localhost (localhost [127.0.0.1]) by elrond.portugalmail.pt (Postfix) with ESMTP id CC5CC52222; Wed, 20 Jun 2007 00:58:38 +0100 (WEST) Received: from elrond.portugalmail.pt ([127.0.0.1]) by localhost (elrond.portugalmail.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wDXcz-UcDROh; Wed, 20 Jun 2007 00:58:38 +0100 (WEST) Received: from [127.0.0.1] (88.210.68.130.rev.optimus.pt [88.210.68.130]) (Authenticated sender: pedro_alves@portugalmail.pt) by elrond.portugalmail.pt (Postfix) with ESMTP id B363350503; Wed, 20 Jun 2007 00:58:36 +0100 (WEST) Message-ID: <46786DBF.3040104@portugalmail.pt> Date: Tue, 19 Jun 2007 23:58:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Pedro Alves , gdb-patches@sourceware.org, Ulrich Weigand Subject: Re: For example only, updated Windows DLL support and gdbserver DLL support References: <20070619191938.GA26206@caradoc.them.org> <200706192000.l5JK0ZVU014446@d12av02.megacenter.de.ibm.com> <20070619201223.GA29049@caradoc.them.org> <46785C09.8070500@portugalmail.pt> <20070619233413.GA19242@caradoc.them.org> In-Reply-To: <20070619233413.GA19242@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000750-2, 19-06-2007), Outbound message X-Antivirus-Status: Clean X-IsSubscribed: yes 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: 2007-06/txt/msg00383.txt.bz2 Daniel Jacobowitz wrote: > On Tue, Jun 19, 2007 at 11:43:21PM +0100, Pedro Alves wrote: >> Are .text and .data really loaded as one segment like on windows, >> or can AIX load them separately at arbitrary addresses irrespective >> of the order that they have on the file? The bfd view of the order >> of the sections may be different from what the target would report. >> One might need to take that into account. > > They're two separate sections, but they're named - i.e. it's clear > which one is text and which one is data. Since this is all internal > to GDB, we can just define text to be the first segment. > Ah right, implement an xcoffread.c:xcoff_symfile_segments that takes that into account, and allow *_symfile_segments override per target if needed later. Cheers, Pedro Alves