This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: solib-target.c info sharedlib range addresses FIXME?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 2 Aug 2007 15:36:08 -0400
- Subject: Re: solib-target.c info sharedlib range addresses FIXME?
- References: <46B134D0.5050002@portugalmail.pt>
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