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]

[commit] [i386] Fix {,un}prelinked libraries for attach/core-load


On Wed, 23 Feb 2011 00:04:21 +0100, Jan Kratochvil wrote:
> gdb/
> 2011-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Fix libraries displacement if they change whether they were prelinked.
> 	* solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer
> 	does not match.  Comment why.
> 
> gdb/testsuite/
> 2011-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.base/break-interp-lib.c (v, vptr): New variables.
> 	* gdb.base/break-interp.exp (test_attach): New comment.

While the fix may be made better in some way this change cannot have any
regression and it fixes a visible problem on 32bit x86 systems featuring
prelink.

Therefore checked in:
	http://sourceware.org/ml/gdb-cvs/2011-04/msg00108.html


Thanks,
Jan


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