This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog auxv.c auxv.h linux-nat.c pr ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Jan 2010 21:15:00 -0000
- Subject: src/gdb ChangeLog auxv.c auxv.h linux-nat.c pr ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2010-01-14 21:15:00
Modified files:
gdb : ChangeLog auxv.c auxv.h linux-nat.c procfs.c
solib-svr4.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.base: valgrind-db-attach.c
valgrind-db-attach.exp
Log message:
gdb/
Support Valgrind attachments broken by the PIE support.
* auxv.c: Include gdbcore.h.
(procfs_xfer_auxv): Make static. Reduce its comment. Drop its
parameters ops, object and annex. Remove their assertions.
(ld_so_xfer_auxv, memory_xfer_auxv): New function.
* auxv.h (procfs_xfer_auxv): Remove comment. Rename to ...
(memory_xfer_auxv): ... here.
* linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
memory_xfer_auxv.
* procfs.c (procfs_xfer_partial): Likewise.
* solib-svr4.c (svr4_relocate_main_executable): New prototype.
(svr4_special_symbol_handling): Call svr4_relocate_main_executable.
(svr4_solib_create_inferior_hook): Conditionalize the
svr4_relocate_main_executable call.
gdb/testsuite/
* gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11249&r2=1.11250
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/auxv.c.diff?cvsroot=src&r1=1.24&r2=1.25
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/auxv.h.diff?cvsroot=src&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/linux-nat.c.diff?cvsroot=src&r1=1.160&r2=1.161
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/procfs.c.diff?cvsroot=src&r1=1.124&r2=1.125
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/solib-svr4.c.diff?cvsroot=src&r1=1.113&r2=1.114
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2087&r2=1.2088
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/valgrind-db-attach.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/valgrind-db-attach.exp.diff?cvsroot=src&r1=NONE&r2=1.1