From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8195 invoked by alias); 2 Aug 2007 19:36:18 -0000 Received: (qmail 8186 invoked by uid 22791); 2 Aug 2007 19:36:18 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 02 Aug 2007 19:36:12 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DF50498122; Thu, 2 Aug 2007 19:36:11 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AFE1098100; Thu, 2 Aug 2007 19:36:11 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IGgSu-0001j3-L2; Thu, 02 Aug 2007 15:36:08 -0400 Date: Thu, 02 Aug 2007 19:36:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: solib-target.c info sharedlib range addresses FIXME? Message-ID: <20070802193608.GA6563@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <46B134D0.5050002@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46B134D0.5050002@portugalmail.pt> User-Agent: Mutt/1.5.15 (2007-04-09) 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-08/txt/msg00020.txt.bz2 On Thu, Aug 02, 2007 at 02:35:12AM +0100, Pedro Alves wrote: > Hi Daniel, > > I was looking at this broken info sharedlibrary output on arm-wince ... > > Current cvs: > > (gdb) info shared > From To Syms Read Shared Object Library > (...) > 0x00bc1000 0x009ab708 Yes /cygdrive/d/Qt/qtce/qt/lib/qtguid4.dll > 0x01581000 0x0025da90 Yes /cygdrive/d/Qt/qtce/qt/lib/qtcored4.dll > 0x017d1000 0x6fbc6280 Yes > /cygdrive/d/cegccsf/cegcc/cegcc/src/build-mingw32ce/mingw/mingwm10.dll > (...) > > (notice that 'To < From' - visible on big libs) > > ... and noticed you left a commented out fix in the code. Any > reason not to uncomment it? Er, whoops! I must have meant to get back to this before posting the patch, and failed to do so. Sorry. I'm guessing that third library was relocated downwards? > * solib-target.c (solib_target_relocate_section_addresses): > Add orig_delta to addr_high. Yes, thanks. It certainly is necessary :-) -- Daniel Jacobowitz CodeSourcery