This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog solib-svr4.c testsuite/Chang ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 5 Jul 2010 17:57:50 -0000
- Subject: src/gdb ChangeLog solib-svr4.c testsuite/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-07-05 17:57:50
Modified files:
gdb : ChangeLog solib-svr4.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: break-interp.exp
Log message:
gdb/
Fix attaching to PIEs prelinked on the disk after the process was
started.
* solib-svr4.c (svr4_exec_displacement): New variable arch_size.
Verify it against bfd_get_arch_size. Try to match arbitrary
displacement for the phdrs comparison.
gdb/testsuite/
* gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
code for it. New variable relink_args.
(prelinkYES): Call prelinkNO.
(test_attach): Accept new parameter relink_args. Re-prelink the binary
in such case. Move the core code to ...
(test_attach_gdb): ... a new function. Send GDB command "file".
Extend expected "Attaching to " string.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11963&r2=1.11964
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib-svr4.c.diff?cvsroot=src&r1=1.134&r2=1.135
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2370&r2=1.2371
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/break-interp.exp.diff?cvsroot=src&r1=1.13&r2=1.14