From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24210 invoked by alias); 21 Apr 2008 14:32:07 -0000 Received: (qmail 24199 invoked by uid 22791); 21 Apr 2008 14:32:05 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Apr 2008 14:31:48 +0000 Received: (qmail 26604 invoked from network); 21 Apr 2008 14:31:46 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Apr 2008 14:31:46 -0000 From: Pedro Alves To: Daniel Jacobowitz Subject: Re: MI testsuite fix Date: Mon, 21 Apr 2008 15:05:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: gdb-patches@sourceware.org References: <200804102102.07722.pedro@codesourcery.com> <200804211235.58900.pedro@codesourcery.com> <20080421123258.GA29008@caradoc.them.org> In-Reply-To: <20080421123258.GA29008@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804211531.44652.pedro@codesourcery.com> 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: 2008-04/txt/msg00431.txt.bz2 A Monday 21 April 2008 13:32:58, Daniel Jacobowitz wrote: > On Mon, Apr 21, 2008 at 12:35:58PM +0100, Pedro Alves wrote: > > Now you've lost me. This is mapping absolute section addresses > > to section offsets. It doesn't seem symfile_map_offsets_to_segments > > or objfile_relocate would give any help here? > > Well, anything that just carries offsets forwards from the previous > section is suspect. If the user gives us the addresses of .text and > .data, it'd be nice to move the containing segments appropriately. > I see. We could also give the user an option to pass segment addresses instead of section addresses, and then it indeed starts looking like qOffsets. > > 2008-04-21 Pedro Alves > > > > * symfile.c (syms_from_objfile): Don't warn if lowest loadable > > section is not a code section. > > OK. Checked in. Thanks. -- Pedro Alves