From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17973 invoked by alias); 5 Aug 2007 10:00:34 -0000 Received: (qmail 17431 invoked by uid 22791); 5 Aug 2007 10:00:30 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.169) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 05 Aug 2007 10:00:28 +0000 Received: by ug-out-1314.google.com with SMTP id s2so622236uge for ; Sun, 05 Aug 2007 03:00:25 -0700 (PDT) Received: by 10.67.103.16 with SMTP id f16mr4331614ugm.1186308025026; Sun, 05 Aug 2007 03:00:25 -0700 (PDT) Received: from ?62.169.107.146? ( [62.169.107.146]) by mx.google.com with ESMTPS id d25sm4803728nfh.2007.08.05.03.00.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Aug 2007 03:00:23 -0700 (PDT) Message-ID: <46B59F90.2000205@portugalmail.pt> Date: Sun, 05 Aug 2007 10:00: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: gdb-patches@sourceware.org Subject: Re: solib-target.c info sharedlib range addresses FIXME? References: <46B134D0.5050002@portugalmail.pt> <20070802193608.GA6563@caradoc.them.org> In-Reply-To: <20070802193608.GA6563@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00108.txt.bz2 Daniel Jacobowitz wrote: > 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? > Yep, its image base is 0x6fbc0000. The other two both go up from 0x10000. >> * solib-target.c (solib_target_relocate_section_addresses): >> Add orig_delta to addr_high. > > Yes, thanks. It certainly is necessary :-) > Checked in. Thanks. Cheers, Pedro Alves