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: [bfd patch] Regression for Linux vDSO in GDB


On Wed, Sep 17, 2014 at 08:55:55PM +0200, Jan Kratochvil wrote:
> I do not fully understand the original intention for the line I changed there
> but it seems logical to me this way when the 'size' parameter has been already
> added.

You're correct.  I was wrongly thinking that the section headers were
always last when I wrote that code.  (They are now!  If you relink
that vdso with current binutils master you won't hit this problem, but
that of course doesn't help existing kernels.)  So..

> 	* elfcode.h (bfd_from_remote_memory): Use SIZE for HIGH_OFFSET.

..OK, thanks!

-- 
Alan Modra
Australia Development Lab, IBM


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