[bfd patch] Regression for Linux vDSO in GDB

Alan Modra amodra@gmail.com
Wed Sep 17 21:55:00 GMT 2014


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



More information about the Gdb-patches mailing list