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?


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


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