This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [i386] Fix {,un}prelinked libraries for attach/core-load
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 17 Apr 2011 21:18:49 +0200
- Subject: [commit] [i386] Fix {,un}prelinked libraries for attach/core-load
- References: <20110222230421.GA13440@host1.dyn.jankratochvil.net>
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