This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: solib-target.c info sharedlib range addresses FIXME?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]